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

Public Member Functions

 MetricToAStarPenalty (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 MetricToAStarPenalty ()
 MetricToAStarPenalty (meshlib.VertCoords points, meshlib.Vector3f target)
 MetricToAStarPenalty (meshlib.MetricToAStarPenalty _other)
meshlib.MetricToAStarPenalty assignFromAnother (meshlib.MetricToAStarPenalty _other)
float call (float metric, meshlib.VertId v)
java.lang.foreign.MemorySegment points ()
void setPoints (meshlib.VertCoords value)
meshlib.Vector3f target ()
void setTarget (meshlib.Vector3f 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

the vertices in the queue are ordered by the sum of their metric from a start location and the lower bound of a path till target point (A* heuristic) Generated from class MR::MetricToAStarPenalty.

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

Constructor & Destructor Documentation

◆ MetricToAStarPenalty() [1/4]

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

◆ MetricToAStarPenalty() [2/4]

meshlib.MetricToAStarPenalty.MetricToAStarPenalty ( )

Constructs an empty (default-constructed) instance.

Calls MR_MetricToAStarPenalty_DefaultConstruct().

◆ MetricToAStarPenalty() [3/4]

meshlib.MetricToAStarPenalty.MetricToAStarPenalty ( meshlib.VertCoords points,
meshlib.Vector3f target )

Constructs MR::MetricToAStarPenalty elementwise. The reference to the parameter points might be preserved in the constructed object. The reference to the parameter target might be preserved in the constructed object.

Calls MR_MetricToAStarPenalty_ConstructFrom().

◆ MetricToAStarPenalty() [4/4]

meshlib.MetricToAStarPenalty.MetricToAStarPenalty ( meshlib.MetricToAStarPenalty _other)

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

Calls MR_MetricToAStarPenalty_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.MetricToAStarPenalty meshlib.MetricToAStarPenalty.assignFromAnother ( meshlib.MetricToAStarPenalty _other)

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

Calls MR_MetricToAStarPenalty_AssignFromAnother().

◆ call()

float meshlib.MetricToAStarPenalty.call ( float metric,
meshlib.VertId v )

Generated from method MR::MetricToAStarPenalty::operator().

Calls MR_MetricToAStarPenalty_call().

◆ points()

java.lang.foreign.MemorySegment meshlib.MetricToAStarPenalty.points ( )

Returns a pointer to a member variable of class MR::MetricToAStarPenalty named points. The reference to this object might be preserved as the return value.

Calls MR_MetricToAStarPenalty_Get_points(). Some types are raw C types, see the C bindings for the details.

◆ setPoints()

void meshlib.MetricToAStarPenalty.setPoints ( meshlib.VertCoords value)

Modifies a member variable of class MR::MetricToAStarPenalty named points. The reference to the parameter value might be preserved in this object in element points.

Calls MR_MetricToAStarPenalty_Set_points().

◆ setTarget()

void meshlib.MetricToAStarPenalty.setTarget ( meshlib.Vector3f value)

Modifies a member variable of class MR::MetricToAStarPenalty named target. The reference to the parameter value might be preserved in this object in element target.

Calls MR_MetricToAStarPenalty_Set_target().

◆ target()

meshlib.Vector3f meshlib.MetricToAStarPenalty.target ( )

Returns a pointer to a member variable of class MR::MetricToAStarPenalty named target. The reference to this object might be preserved as the return value.

Calls MR_MetricToAStarPenalty_Get_target().


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