MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.PointAndDistance Class Reference
Inheritance diagram for meshlib.PointAndDistance:

Public Member Functions

 PointAndDistance (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 PointAndDistance ()
 PointAndDistance (meshlib.VertId vId, float dist)
 PointAndDistance (meshlib.PointAndDistance _other)
boolean convertTo_bool ()
meshlib.PointAndDistance assignFromAnother (meshlib.PointAndDistance _other)
boolean valid ()
meshlib.VertId vId ()
void setVId (meshlib.VertId value)
float dist ()
void setDist (float value)
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

Generated from class MR::PointAndDistance.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ PointAndDistance() [1/4]

meshlib.PointAndDistance.PointAndDistance ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ PointAndDistance() [2/4]

meshlib.PointAndDistance.PointAndDistance ( )

Constructs an empty (default-constructed) instance.

Calls MR_PointAndDistance_DefaultConstruct().

◆ PointAndDistance() [3/4]

meshlib.PointAndDistance.PointAndDistance ( meshlib.VertId vId,
float dist )

Constructs MR::PointAndDistance elementwise. The reference to the parameter vId might be preserved in the constructed object.

Calls MR_PointAndDistance_ConstructFrom().

◆ PointAndDistance() [4/4]

meshlib.PointAndDistance.PointAndDistance ( meshlib.PointAndDistance _other)

Generated from constructor MR::PointAndDistance::PointAndDistance. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_PointAndDistance_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.PointAndDistance meshlib.PointAndDistance.assignFromAnother ( meshlib.PointAndDistance _other)

Generated from method MR::PointAndDistance::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_PointAndDistance_AssignFromAnother().

◆ convertTo_bool()

boolean meshlib.PointAndDistance.convertTo_bool ( )

Generated from conversion operator MR::PointAndDistance::operator bool.

Calls MR_PointAndDistance_ConvertTo_bool().

◆ dist()

float meshlib.PointAndDistance.dist ( )

the distance from input location to point vId considering point's weight Returns a pointer to a member variable of class MR::PointAndDistance named dist. The reference to this object might be preserved as the return value.

Calls MR_PointAndDistance_Get_dist().

◆ setDist()

void meshlib.PointAndDistance.setDist ( float value)

the distance from input location to point vId considering point's weight Modifies a member variable of class MR::PointAndDistance named dist.

Calls MR_PointAndDistance_Set_dist().

◆ setVId()

void meshlib.PointAndDistance.setVId ( meshlib.VertId value)

a cloud's point Modifies a member variable of class MR::PointAndDistance named vId. The reference to the parameter value might be preserved in this object in element vId.

Calls MR_PointAndDistance_Set_vId().

◆ valid()

boolean meshlib.PointAndDistance.valid ( )

check for validity, otherwise there is no point closer than maxBidirDist Generated from method MR::PointAndDistance::valid.

Calls MR_PointAndDistance_valid().

◆ vId()

meshlib.VertId meshlib.PointAndDistance.vId ( )

a cloud's point Returns a pointer to a member variable of class MR::PointAndDistance named vId. The reference to this object might be preserved as the return value.

Calls MR_PointAndDistance_Get_vId().


The documentation for this class was generated from the following file: