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

Public Member Functions

 TrivialMetricToPenalty (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 TrivialMetricToPenalty ()
 TrivialMetricToPenalty (meshlib.TrivialMetricToPenalty _other)
meshlib.TrivialMetricToPenalty assignFromAnother (meshlib.TrivialMetricToPenalty _other)
float call (float metric, meshlib.VertId _2)
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 their metric from a start location Generated from class MR::TrivialMetricToPenalty.

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

Constructor & Destructor Documentation

◆ TrivialMetricToPenalty() [1/3]

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

◆ TrivialMetricToPenalty() [2/3]

meshlib.TrivialMetricToPenalty.TrivialMetricToPenalty ( )

Constructs an empty (default-constructed) instance.

Calls MR_TrivialMetricToPenalty_DefaultConstruct().

◆ TrivialMetricToPenalty() [3/3]

meshlib.TrivialMetricToPenalty.TrivialMetricToPenalty ( meshlib.TrivialMetricToPenalty _other)

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

Calls MR_TrivialMetricToPenalty_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.TrivialMetricToPenalty meshlib.TrivialMetricToPenalty.assignFromAnother ( meshlib.TrivialMetricToPenalty _other)

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

Calls MR_TrivialMetricToPenalty_AssignFromAnother().

◆ call()

float meshlib.TrivialMetricToPenalty.call ( float metric,
meshlib.VertId _2 )

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

Calls MR_TrivialMetricToPenalty_call().


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