MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.SpacingSettings Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, SpacingSettings arg0)
 
None __init__ (self, VertBitSet region, func_float_from_Id_UndirectedEdgeTag dist, int numIters, float stabilizer, float maxSumNegW, func_bool_from_Id_FaceTag isInverted)
 
func_float_from_Id_UndirectedEdgeTag dist (self)
 
None dist (self, func_float_from_Id_UndirectedEdgeTag arg1)
 
func_bool_from_Id_FaceTag isInverted (self)
 
None isInverted (self, func_bool_from_Id_FaceTag arg1)
 
float maxSumNegW (self)
 
None maxSumNegW (self, float arg1)
 
int numIters (self)
 
None numIters (self, int arg1)
 
VertBitSet region (self)
 
None region (self, VertBitSet arg1)
 
float stabilizer (self)
 
None stabilizer (self, float arg1)
 

Detailed Description

Generated from:  MR::SpacingSettings

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.SpacingSettings.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/3]

None meshlib.mrmeshpy.SpacingSettings.__init__ ( self,
SpacingSettings arg0 )
Implicit copy constructor.

◆ __init__() [3/3]

None meshlib.mrmeshpy.SpacingSettings.__init__ ( self,
VertBitSet region,
func_float_from_Id_UndirectedEdgeTag dist,
int numIters,
float stabilizer,
float maxSumNegW,
func_bool_from_Id_FaceTag isInverted )
Implicit aggregate constructor.

Member Function Documentation

◆ dist() [1/2]

func_float_from_Id_UndirectedEdgeTag meshlib.mrmeshpy.SpacingSettings.dist ( self)
must be defined by the caller

◆ dist() [2/2]

None meshlib.mrmeshpy.SpacingSettings.dist ( self,
func_float_from_Id_UndirectedEdgeTag arg1 )

◆ isInverted() [1/2]

func_bool_from_Id_FaceTag meshlib.mrmeshpy.SpacingSettings.isInverted ( self)
if this predicated is given, then all inverted faces will be converted in degenerate faces at the end of each iteration

◆ isInverted() [2/2]

None meshlib.mrmeshpy.SpacingSettings.isInverted ( self,
func_bool_from_Id_FaceTag arg1 )

◆ maxSumNegW() [1/2]

float meshlib.mrmeshpy.SpacingSettings.maxSumNegW ( self)
maximum sum of minus negative weights, if it is exceeded then stabilizer is increased automatically

◆ maxSumNegW() [2/2]

None meshlib.mrmeshpy.SpacingSettings.maxSumNegW ( self,
float arg1 )

◆ numIters() [1/2]

int meshlib.mrmeshpy.SpacingSettings.numIters ( self)
the algorithm is iterative, the more iterations the closer result to exact solution

◆ numIters() [2/2]

None meshlib.mrmeshpy.SpacingSettings.numIters ( self,
int arg1 )

◆ region() [1/2]

VertBitSet meshlib.mrmeshpy.SpacingSettings.region ( self)
vertices to be moved by the algorithm, nullptr means all valid vertices

◆ region() [2/2]

None meshlib.mrmeshpy.SpacingSettings.region ( self,
VertBitSet arg1 )

◆ stabilizer() [1/2]

float meshlib.mrmeshpy.SpacingSettings.stabilizer ( self)
too small number here can lead to instability, too large - to slow convergence

◆ stabilizer() [2/2]

None meshlib.mrmeshpy.SpacingSettings.stabilizer ( self,
float arg1 )

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