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

Public Member Functions

 FillHoleMetric (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 FillHoleMetric ()
 FillHoleMetric (meshlib.std_function_double_from_MR_VertId_MR_VertId_MR_VertId triangleMetric, meshlib.std_function_double_from_MR_VertId_MR_VertId_MR_VertId_MR_VertId edgeMetric, meshlib.std_function_double_from_double_double combineMetric)
 FillHoleMetric (meshlib.FillHoleMetric _other)
meshlib.FillHoleMetric assignFromAnother (meshlib.FillHoleMetric _other)
meshlib.std_function_double_from_MR_VertId_MR_VertId_MR_VertId triangleMetric ()
void setTriangleMetric (meshlib.std_function_double_from_MR_VertId_MR_VertId_MR_VertId value)
meshlib.std_function_double_from_MR_VertId_MR_VertId_MR_VertId_MR_VertId edgeMetric ()
void setEdgeMetric (meshlib.std_function_double_from_MR_VertId_MR_VertId_MR_VertId_MR_VertId value)
meshlib.std_function_double_from_double_double combineMetric ()
void setCombineMetric (meshlib.std_function_double_from_double_double 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)

Constructor & Destructor Documentation

◆ FillHoleMetric() [1/4]

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

◆ FillHoleMetric() [2/4]

meshlib.FillHoleMetric.FillHoleMetric ( )

Constructs an empty (default-constructed) instance.

Calls MR_FillHoleMetric_DefaultConstruct().

◆ FillHoleMetric() [3/4]

Constructs MR::FillHoleMetric elementwise. The reference to the parameter triangleMetric might be preserved in the constructed object. The reference to the parameter edgeMetric might be preserved in the constructed object. The reference to the parameter combineMetric might be preserved in the constructed object.

Calls MR_FillHoleMetric_ConstructFrom().

◆ FillHoleMetric() [4/4]

meshlib.FillHoleMetric.FillHoleMetric ( meshlib.FillHoleMetric _other)

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

Calls MR_FillHoleMetric_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.FillHoleMetric meshlib.FillHoleMetric.assignFromAnother ( meshlib.FillHoleMetric _other)

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

Calls MR_FillHoleMetric_AssignFromAnother().

◆ combineMetric()

meshlib.std_function_double_from_double_double meshlib.FillHoleMetric.combineMetric ( )

is called to combine metrics from different candidates, if it is not set it just summarizes input Returns a pointer to a member variable of class MR::FillHoleMetric named combineMetric. The reference to this object might be preserved as the return value.

Calls MR_FillHoleMetric_Get_combineMetric().

◆ edgeMetric()

is called for each edge, if it is set Returns a pointer to a member variable of class MR::FillHoleMetric named edgeMetric. The reference to this object might be preserved as the return value.

Calls MR_FillHoleMetric_Get_edgeMetric().

◆ setCombineMetric()

void meshlib.FillHoleMetric.setCombineMetric ( meshlib.std_function_double_from_double_double value)

is called to combine metrics from different candidates, if it is not set it just summarizes input Modifies a member variable of class MR::FillHoleMetric named combineMetric. The reference to the parameter value might be preserved in this object in element combineMetric.

Calls MR_FillHoleMetric_Set_combineMetric().

◆ setEdgeMetric()

void meshlib.FillHoleMetric.setEdgeMetric ( meshlib.std_function_double_from_MR_VertId_MR_VertId_MR_VertId_MR_VertId value)

is called for each edge, if it is set Modifies a member variable of class MR::FillHoleMetric named edgeMetric. The reference to the parameter value might be preserved in this object in element edgeMetric.

Calls MR_FillHoleMetric_Set_edgeMetric().

◆ setTriangleMetric()

void meshlib.FillHoleMetric.setTriangleMetric ( meshlib.std_function_double_from_MR_VertId_MR_VertId_MR_VertId value)

is called for each triangle, if it is set Modifies a member variable of class MR::FillHoleMetric named triangleMetric. The reference to the parameter value might be preserved in this object in element triangleMetric.

Calls MR_FillHoleMetric_Set_triangleMetric().

◆ triangleMetric()

meshlib.std_function_double_from_MR_VertId_MR_VertId_MR_VertId meshlib.FillHoleMetric.triangleMetric ( )

is called for each triangle, if it is set Returns a pointer to a member variable of class MR::FillHoleMetric named triangleMetric. The reference to this object might be preserved as the return value.

Calls MR_FillHoleMetric_Get_triangleMetric().


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