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

Public Member Functions

 VertDistance (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 VertDistance ()
 VertDistance (meshlib.VertDistance _other)
 VertDistance (meshlib.VertId v, float d)
meshlib.VertDistance assignFromAnother (meshlib.VertDistance _other)
meshlib.VertId vert ()
void setVert (meshlib.VertId value)
float distance ()
void setDistance (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::VertDistance.

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

Constructor & Destructor Documentation

◆ VertDistance() [1/4]

meshlib.VertDistance.VertDistance ( 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.

◆ VertDistance() [2/4]

meshlib.VertDistance.VertDistance ( )

Constructs an empty (default-constructed) instance.

Calls MR_VertDistance_DefaultConstruct().

◆ VertDistance() [3/4]

meshlib.VertDistance.VertDistance ( meshlib.VertDistance _other)

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

Calls MR_VertDistance_ConstructFromAnother().

◆ VertDistance() [4/4]

meshlib.VertDistance.VertDistance ( meshlib.VertId v,
float d )

Generated from constructor MR::VertDistance::VertDistance. The reference to the parameter v might be preserved in the constructed object.

Calls MR_VertDistance_Construct().

Member Function Documentation

◆ assignFromAnother()

meshlib.VertDistance meshlib.VertDistance.assignFromAnother ( meshlib.VertDistance _other)

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

Calls MR_VertDistance_AssignFromAnother().

◆ distance()

float meshlib.VertDistance.distance ( )

best known distance to reach this vertex Returns a pointer to a member variable of class MR::VertDistance named distance. The reference to this object might be preserved as the return value.

Calls MR_VertDistance_Get_distance().

◆ setDistance()

void meshlib.VertDistance.setDistance ( float value)

best known distance to reach this vertex Modifies a member variable of class MR::VertDistance named distance.

Calls MR_VertDistance_Set_distance().

◆ setVert()

void meshlib.VertDistance.setVert ( meshlib.VertId value)

vertex in question Modifies a member variable of class MR::VertDistance named vert. The reference to the parameter value might be preserved in this object in element vert.

Calls MR_VertDistance_Set_vert().

◆ vert()

meshlib.VertId meshlib.VertDistance.vert ( )

vertex in question Returns a pointer to a member variable of class MR::VertDistance named vert. The reference to this object might be preserved as the return value.

Calls MR_VertDistance_Get_vert().


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