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

Public Member Functions

 VertPathInfo (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 VertPathInfo ()
 VertPathInfo (meshlib.EdgeId back, float metric)
 VertPathInfo (meshlib.VertPathInfo _other)
meshlib.VertPathInfo assignFromAnother (meshlib.VertPathInfo _other)
boolean isStart ()
meshlib.EdgeId back ()
void setBack (meshlib.EdgeId value)
float metric ()
void setMetric (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

information associated with each vertex by the paths builder Generated from class MR::VertPathInfo.

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

Constructor & Destructor Documentation

◆ VertPathInfo() [1/4]

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

◆ VertPathInfo() [2/4]

meshlib.VertPathInfo.VertPathInfo ( )

Constructs an empty (default-constructed) instance.

Calls MR_VertPathInfo_DefaultConstruct().

◆ VertPathInfo() [3/4]

meshlib.VertPathInfo.VertPathInfo ( meshlib.EdgeId back,
float metric )

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

Calls MR_VertPathInfo_ConstructFrom().

◆ VertPathInfo() [4/4]

meshlib.VertPathInfo.VertPathInfo ( meshlib.VertPathInfo _other)

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

Calls MR_VertPathInfo_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.VertPathInfo meshlib.VertPathInfo.assignFromAnother ( meshlib.VertPathInfo _other)

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

Calls MR_VertPathInfo_AssignFromAnother().

◆ back()

meshlib.EdgeId meshlib.VertPathInfo.back ( )

edge from this vertex to its predecessor in the forest Returns a pointer to a member variable of class MR::VertPathInfo named back. The reference to this object might be preserved as the return value.

Calls MR_VertPathInfo_Get_back().

◆ isStart()

boolean meshlib.VertPathInfo.isStart ( )

Generated from method MR::VertPathInfo::isStart.

Calls MR_VertPathInfo_isStart().

◆ metric()

float meshlib.VertPathInfo.metric ( )

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

Calls MR_VertPathInfo_Get_metric().

◆ setBack()

void meshlib.VertPathInfo.setBack ( meshlib.EdgeId value)

edge from this vertex to its predecessor in the forest Modifies a member variable of class MR::VertPathInfo named back. The reference to the parameter value might be preserved in this object in element back.

Calls MR_VertPathInfo_Set_back().

◆ setMetric()

void meshlib.VertPathInfo.setMetric ( float value)

best summed metric to reach this vertex Modifies a member variable of class MR::VertPathInfo named metric.

Calls MR_VertPathInfo_Set_metric().


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