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

Public Member Functions

 SubdivideFillingSettings (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 SubdivideFillingSettings ()
 SubdivideFillingSettings (meshlib.UndirectedEdgeBitSet notFlippable, float maxEdgeLen, int maxEdgeSplits, float maxAngleChangeAfterFlip, meshlib.std_function_bool_from_MR_EdgeId beforeEdgeSplit, meshlib.std_function_void_from_MR_EdgeId_MR_EdgeId onEdgeSplit)
 SubdivideFillingSettings (meshlib.SubdivideFillingSettings _other)
meshlib.SubdivideFillingSettings assignFromAnother (meshlib.SubdivideFillingSettings _other)
java.lang.foreign.MemorySegment notFlippable ()
void setNotFlippable (meshlib.UndirectedEdgeBitSet value)
float maxEdgeLen ()
void setMaxEdgeLen (float value)
int maxEdgeSplits ()
void setMaxEdgeSplits (int value)
float maxAngleChangeAfterFlip ()
void setMaxAngleChangeAfterFlip (float value)
meshlib.std_function_bool_from_MR_EdgeId beforeEdgeSplit ()
void setBeforeEdgeSplit (meshlib.std_function_bool_from_MR_EdgeId value)
meshlib.std_function_void_from_MR_EdgeId_MR_EdgeId onEdgeSplit ()
void setOnEdgeSplit (meshlib.std_function_void_from_MR_EdgeId_MR_EdgeId 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::SubdivideFillingSettings.

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

Constructor & Destructor Documentation

◆ SubdivideFillingSettings() [1/4]

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

◆ SubdivideFillingSettings() [2/4]

meshlib.SubdivideFillingSettings.SubdivideFillingSettings ( )

Constructs an empty (default-constructed) instance.

Calls MR_SubdivideFillingSettings_DefaultConstruct().

◆ SubdivideFillingSettings() [3/4]

meshlib.SubdivideFillingSettings.SubdivideFillingSettings ( meshlib.UndirectedEdgeBitSet notFlippable,
float maxEdgeLen,
int maxEdgeSplits,
float maxAngleChangeAfterFlip,
meshlib.std_function_bool_from_MR_EdgeId beforeEdgeSplit,
meshlib.std_function_void_from_MR_EdgeId_MR_EdgeId onEdgeSplit )

Constructs MR::SubdivideFillingSettings elementwise. The reference to the parameter notFlippable might be preserved in the constructed object. The reference to the parameter beforeEdgeSplit might be preserved in the constructed object. The reference to the parameter onEdgeSplit might be preserved in the constructed object.

Calls MR_SubdivideFillingSettings_ConstructFrom().

◆ SubdivideFillingSettings() [4/4]

meshlib.SubdivideFillingSettings.SubdivideFillingSettings ( meshlib.SubdivideFillingSettings _other)

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

Calls MR_SubdivideFillingSettings_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.SubdivideFillingSettings meshlib.SubdivideFillingSettings.assignFromAnother ( meshlib.SubdivideFillingSettings _other)

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

Calls MR_SubdivideFillingSettings_AssignFromAnother().

◆ beforeEdgeSplit()

meshlib.std_function_bool_from_MR_EdgeId meshlib.SubdivideFillingSettings.beforeEdgeSplit ( )

(If this is set) this function is called in subdivision each time edge (e) is going to split, if it returns false then this split will be skipped Returns a pointer to a member variable of class MR::SubdivideFillingSettings named beforeEdgeSplit. The reference to this object might be preserved as the return value.

Calls MR_SubdivideFillingSettings_Get_beforeEdgeSplit().

◆ maxAngleChangeAfterFlip()

float meshlib.SubdivideFillingSettings.maxAngleChangeAfterFlip ( )

Improves local mesh triangulation by doing edge flips if it does not change dihedral angle more than on this value (in radians) Returns a pointer to a member variable of class MR::SubdivideFillingSettings named maxAngleChangeAfterFlip. The reference to this object might be preserved as the return value.

Calls MR_SubdivideFillingSettings_Get_maxAngleChangeAfterFlip().

◆ maxEdgeLen()

float meshlib.SubdivideFillingSettings.maxEdgeLen ( )

Subdivision is stopped when all edges inside or on the boundary of the region are not longer than this value Returns a pointer to a member variable of class MR::SubdivideFillingSettings named maxEdgeLen. The reference to this object might be preserved as the return value.

Calls MR_SubdivideFillingSettings_Get_maxEdgeLen().

◆ maxEdgeSplits()

int meshlib.SubdivideFillingSettings.maxEdgeSplits ( )

Maximum number of edge splits allowed during subdivision Returns a pointer to a member variable of class MR::SubdivideFillingSettings named maxEdgeSplits. The reference to this object might be preserved as the return value.

Calls MR_SubdivideFillingSettings_Get_maxEdgeSplits().

◆ notFlippable()

java.lang.foreign.MemorySegment meshlib.SubdivideFillingSettings.notFlippable ( )

in triangulateOnly = false mode, edges specified by this bit-set will never be flipped, but they can be split so it is updated during the operation Returns a pointer to a member variable of class MR::SubdivideFillingSettings named notFlippable. The reference to this object might be preserved as the return value.

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

◆ onEdgeSplit()

meshlib.std_function_void_from_MR_EdgeId_MR_EdgeId meshlib.SubdivideFillingSettings.onEdgeSplit ( )

(If this is set) this function is called in subdivision each time edge (e) is split into (e1->e), but before the ring is made Delone Returns a pointer to a member variable of class MR::SubdivideFillingSettings named onEdgeSplit. The reference to this object might be preserved as the return value.

Calls MR_SubdivideFillingSettings_Get_onEdgeSplit().

◆ setBeforeEdgeSplit()

void meshlib.SubdivideFillingSettings.setBeforeEdgeSplit ( meshlib.std_function_bool_from_MR_EdgeId value)

(If this is set) this function is called in subdivision each time edge (e) is going to split, if it returns false then this split will be skipped Modifies a member variable of class MR::SubdivideFillingSettings named beforeEdgeSplit. The reference to the parameter value might be preserved in this object in element beforeEdgeSplit.

Calls MR_SubdivideFillingSettings_Set_beforeEdgeSplit().

◆ setMaxAngleChangeAfterFlip()

void meshlib.SubdivideFillingSettings.setMaxAngleChangeAfterFlip ( float value)

Improves local mesh triangulation by doing edge flips if it does not change dihedral angle more than on this value (in radians) Modifies a member variable of class MR::SubdivideFillingSettings named maxAngleChangeAfterFlip.

Calls MR_SubdivideFillingSettings_Set_maxAngleChangeAfterFlip().

◆ setMaxEdgeLen()

void meshlib.SubdivideFillingSettings.setMaxEdgeLen ( float value)

Subdivision is stopped when all edges inside or on the boundary of the region are not longer than this value Modifies a member variable of class MR::SubdivideFillingSettings named maxEdgeLen.

Calls MR_SubdivideFillingSettings_Set_maxEdgeLen().

◆ setMaxEdgeSplits()

void meshlib.SubdivideFillingSettings.setMaxEdgeSplits ( int value)

Maximum number of edge splits allowed during subdivision Modifies a member variable of class MR::SubdivideFillingSettings named maxEdgeSplits.

Calls MR_SubdivideFillingSettings_Set_maxEdgeSplits().

◆ setNotFlippable()

void meshlib.SubdivideFillingSettings.setNotFlippable ( meshlib.UndirectedEdgeBitSet value)

in triangulateOnly = false mode, edges specified by this bit-set will never be flipped, but they can be split so it is updated during the operation Modifies a member variable of class MR::SubdivideFillingSettings named notFlippable. The reference to the parameter value might be preserved in this object in element notFlippable.

Calls MR_SubdivideFillingSettings_Set_notFlippable().

◆ setOnEdgeSplit()

void meshlib.SubdivideFillingSettings.setOnEdgeSplit ( meshlib.std_function_void_from_MR_EdgeId_MR_EdgeId value)

(If this is set) this function is called in subdivision each time edge (e) is split into (e1->e), but before the ring is made Delone Modifies a member variable of class MR::SubdivideFillingSettings named onEdgeSplit. The reference to the parameter value might be preserved in this object in element onEdgeSplit.

Calls MR_SubdivideFillingSettings_Set_onEdgeSplit().


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