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

Public Member Functions

 ReduceTotalAngleParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ReduceTotalAngleParams ()
 ReduceTotalAngleParams (float maxAngleChange, float criticalTriAspectRatio, float factorDelone, meshlib.FaceBitSet region, meshlib.UndirectedEdgeBitSet notFlippable, meshlib.VertBitSet vertRegion)
 ReduceTotalAngleParams (meshlib.ReduceTotalAngleParams _other)
meshlib.ReduceTotalAngleParams assignFromAnother (meshlib.ReduceTotalAngleParams _other)
float maxAngleChange ()
void setMaxAngleChange (float value)
float criticalTriAspectRatio ()
void setCriticalTriAspectRatio (float value)
float factorDelone ()
void setFactorDelone (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)
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::ReduceTotalAngleParams.

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

Constructor & Destructor Documentation

◆ ReduceTotalAngleParams() [1/4]

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

◆ ReduceTotalAngleParams() [2/4]

meshlib.ReduceTotalAngleParams.ReduceTotalAngleParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_ReduceTotalAngleParams_DefaultConstruct().

◆ ReduceTotalAngleParams() [3/4]

meshlib.ReduceTotalAngleParams.ReduceTotalAngleParams ( float maxAngleChange,
float criticalTriAspectRatio,
float factorDelone,
meshlib.FaceBitSet region,
meshlib.UndirectedEdgeBitSet notFlippable,
meshlib.VertBitSet vertRegion )

Constructs MR::ReduceTotalAngleParams 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.

Calls MR_ReduceTotalAngleParams_ConstructFrom().

◆ ReduceTotalAngleParams() [4/4]

meshlib.ReduceTotalAngleParams.ReduceTotalAngleParams ( meshlib.ReduceTotalAngleParams _other)

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

Calls MR_ReduceTotalAngleParams_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.ReduceTotalAngleParams meshlib.ReduceTotalAngleParams.assignFromAnother ( meshlib.ReduceTotalAngleParams _other)

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

Calls MR_ReduceTotalAngleParams_AssignFromAnother().

◆ criticalTriAspectRatio()

float meshlib.ReduceTotalAngleParams.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::ReduceTotalAngleParams named criticalTriAspectRatio. The reference to this object might be preserved as the return value.

Calls MR_ReduceTotalAngleParams_Get_criticalTriAspectRatio().

◆ factorDelone()

float meshlib.ReduceTotalAngleParams.factorDelone ( )

This value must be in [0,1] range; factorDelone = 0 means that only dihedral angles are minimized, ignoring Delaunay criterion; factorDelone = 1 means that only Delaunay criterion is optimized ignoring dihedral angles; other values mean that a mixture of both criteria will be optimized Returns a pointer to a member variable of class MR::ReduceTotalAngleParams named factorDelone. The reference to this object might be preserved as the return value.

Calls MR_ReduceTotalAngleParams_Get_factorDelone().

◆ maxAngleChange()

float meshlib.ReduceTotalAngleParams.maxAngleChange ( )

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

Calls MR_ReduceTotalAngleParams_Get_maxAngleChange().

◆ notFlippable()

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

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

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

◆ region()

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

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

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

◆ setCriticalTriAspectRatio()

void meshlib.ReduceTotalAngleParams.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::ReduceTotalAngleParams named criticalTriAspectRatio.

Calls MR_ReduceTotalAngleParams_Set_criticalTriAspectRatio().

◆ setFactorDelone()

void meshlib.ReduceTotalAngleParams.setFactorDelone ( float value)

This value must be in [0,1] range; factorDelone = 0 means that only dihedral angles are minimized, ignoring Delaunay criterion; factorDelone = 1 means that only Delaunay criterion is optimized ignoring dihedral angles; other values mean that a mixture of both criteria will be optimized Modifies a member variable of class MR::ReduceTotalAngleParams named factorDelone.

Calls MR_ReduceTotalAngleParams_Set_factorDelone().

◆ setMaxAngleChange()

void meshlib.ReduceTotalAngleParams.setMaxAngleChange ( float value)

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

Calls MR_ReduceTotalAngleParams_Set_maxAngleChange().

◆ setNotFlippable()

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

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

Calls MR_ReduceTotalAngleParams_Set_notFlippable().

◆ setRegion()

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

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

Calls MR_ReduceTotalAngleParams_Set_region().

◆ setVertRegion()

void meshlib.ReduceTotalAngleParams.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::ReduceTotalAngleParams named vertRegion. The reference to the parameter value might be preserved in this object in element vertRegion.

Calls MR_ReduceTotalAngleParams_Set_vertRegion().

◆ vertRegion()

java.lang.foreign.MemorySegment meshlib.ReduceTotalAngleParams.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::ReduceTotalAngleParams named vertRegion. The reference to this object might be preserved as the return value.

Calls MR_ReduceTotalAngleParams_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: