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

Public Member Functions

 DeloneSettings (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 DeloneSettings ()
 DeloneSettings (float maxDeviationAfterFlip, float maxAngleChange, float criticalTriAspectRatio, meshlib.FaceBitSet region, meshlib.UndirectedEdgeBitSet notFlippable, meshlib.VertBitSet vertRegion, meshlib.DeloneFlipsCache cache)
 DeloneSettings (meshlib.DeloneSettings _other)
meshlib.DeloneSettings assignFromAnother (meshlib.DeloneSettings _other)
float maxDeviationAfterFlip ()
void setMaxDeviationAfterFlip (float value)
float maxAngleChange ()
void setMaxAngleChange (float value)
float criticalTriAspectRatio ()
void setCriticalTriAspectRatio (float value)
java.lang.foreign.MemorySegment region ()
void setRegion (meshlib.FaceBitSet value)
java.lang.foreign.MemorySegment notFlippable ()
void setNotFlippable (meshlib.UndirectedEdgeBitSet value)
java.lang.foreign.MemorySegment vertRegion ()
void setVertRegion (meshlib.VertBitSet value)
java.lang.foreign.MemorySegment cache ()
void setCache (meshlib.DeloneFlipsCache 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::DeloneSettings.

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

Constructor & Destructor Documentation

◆ DeloneSettings() [1/4]

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

◆ DeloneSettings() [2/4]

meshlib.DeloneSettings.DeloneSettings ( )

Constructs an empty (default-constructed) instance.

Calls MR_DeloneSettings_DefaultConstruct().

◆ DeloneSettings() [3/4]

meshlib.DeloneSettings.DeloneSettings ( float maxDeviationAfterFlip,
float maxAngleChange,
float criticalTriAspectRatio,
meshlib.FaceBitSet region,
meshlib.UndirectedEdgeBitSet notFlippable,
meshlib.VertBitSet vertRegion,
meshlib.DeloneFlipsCache cache )

Constructs MR::DeloneSettings elementwise. The reference to the parameter region might be preserved in the constructed object. The reference to the parameter notFlippable might be preserved in the constructed object. The reference to the parameter vertRegion might be preserved in the constructed object. The reference to the parameter cache might be preserved in the constructed object.

Calls MR_DeloneSettings_ConstructFrom().

◆ DeloneSettings() [4/4]

meshlib.DeloneSettings.DeloneSettings ( meshlib.DeloneSettings _other)

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

Calls MR_DeloneSettings_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.DeloneSettings meshlib.DeloneSettings.assignFromAnother ( meshlib.DeloneSettings _other)

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

Calls MR_DeloneSettings_AssignFromAnother().

◆ cache()

java.lang.foreign.MemorySegment meshlib.DeloneSettings.cache ( )

optional buffers reused between calls, see DeloneFlipsCache; flipping several meshes in parallel, give every thread its own cache Returns a pointer to a member variable of class MR::DeloneSettings named cache. The reference to this object might be preserved as the return value.

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

◆ criticalTriAspectRatio()

float meshlib.DeloneSettings.criticalTriAspectRatio ( )

if this value is less than FLT_MAX then the algorithm will ignore dihedral angle check if one of triangles has aspect ratio more than this value Returns a pointer to a member variable of class MR::DeloneSettings named criticalTriAspectRatio. The reference to this object might be preserved as the return value.

Calls MR_DeloneSettings_Get_criticalTriAspectRatio().

◆ maxAngleChange()

float meshlib.DeloneSettings.maxAngleChange ( )

Maximal allowed dihedral angle change (in radians) over the flipped edge Returns a pointer to a member variable of class MR::DeloneSettings named maxAngleChange. The reference to this object might be preserved as the return value.

Calls MR_DeloneSettings_Get_maxAngleChange().

◆ maxDeviationAfterFlip()

float meshlib.DeloneSettings.maxDeviationAfterFlip ( )

Maximal allowed surface deviation during every individual flip Returns a pointer to a member variable of class MR::DeloneSettings named maxDeviationAfterFlip. The reference to this object might be preserved as the return value.

Calls MR_DeloneSettings_Get_maxDeviationAfterFlip().

◆ notFlippable()

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

Edges specified by this bit-set will never be flipped Returns a pointer to a member variable of class MR::DeloneSettings named notFlippable. The reference to this object might be preserved as the return value.

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

◆ region()

java.lang.foreign.MemorySegment meshlib.DeloneSettings.region ( )

Only edges with left and right faces in this set can be flipped Returns a pointer to a member variable of class MR::DeloneSettings named region. The reference to this object might be preserved as the return value.

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

◆ setCache()

void meshlib.DeloneSettings.setCache ( meshlib.DeloneFlipsCache value)

optional buffers reused between calls, see DeloneFlipsCache; flipping several meshes in parallel, give every thread its own cache Modifies a member variable of class MR::DeloneSettings named cache. The reference to the parameter value might be preserved in this object in element cache.

Calls MR_DeloneSettings_Set_cache().

◆ setCriticalTriAspectRatio()

void meshlib.DeloneSettings.setCriticalTriAspectRatio ( float value)

if this value is less than FLT_MAX then the algorithm will ignore dihedral angle check if one of triangles has aspect ratio more than this value Modifies a member variable of class MR::DeloneSettings named criticalTriAspectRatio.

Calls MR_DeloneSettings_Set_criticalTriAspectRatio().

◆ setMaxAngleChange()

void meshlib.DeloneSettings.setMaxAngleChange ( float value)

Maximal allowed dihedral angle change (in radians) over the flipped edge Modifies a member variable of class MR::DeloneSettings named maxAngleChange.

Calls MR_DeloneSettings_Set_maxAngleChange().

◆ setMaxDeviationAfterFlip()

void meshlib.DeloneSettings.setMaxDeviationAfterFlip ( float value)

Maximal allowed surface deviation during every individual flip Modifies a member variable of class MR::DeloneSettings named maxDeviationAfterFlip.

Calls MR_DeloneSettings_Set_maxDeviationAfterFlip().

◆ setNotFlippable()

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

Edges specified by this bit-set will never be flipped Modifies a member variable of class MR::DeloneSettings named notFlippable. The reference to the parameter value might be preserved in this object in element notFlippable.

Calls MR_DeloneSettings_Set_notFlippable().

◆ setRegion()

void meshlib.DeloneSettings.setRegion ( meshlib.FaceBitSet value)

Only edges with left and right faces in this set can be flipped Modifies a member variable of class MR::DeloneSettings named region. The reference to the parameter value might be preserved in this object in element region.

Calls MR_DeloneSettings_Set_region().

◆ setVertRegion()

void meshlib.DeloneSettings.setVertRegion ( meshlib.VertBitSet value)

Only edges with origin or destination in this set before or after flip can be flipped Modifies a member variable of class MR::DeloneSettings named vertRegion. The reference to the parameter value might be preserved in this object in element vertRegion.

Calls MR_DeloneSettings_Set_vertRegion().

◆ vertRegion()

java.lang.foreign.MemorySegment meshlib.DeloneSettings.vertRegion ( )

Only edges with origin or destination in this set before or after flip can be flipped Returns a pointer to a member variable of class MR::DeloneSettings named vertRegion. The reference to this object might be preserved as the return value.

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


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