MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.SpacingSettings Class Reference
Inheritance diagram for mrmeshpy.SpacingSettings:

Public Member Functions

None __init__ (self)
None __init__ (self, ConstSpacingSettings arg0)
None __init__ (self, ConstVertBitSet region, Const_func_float_from_Id_UndirectedEdgeTag dist, int numIters, float stabilizer, float maxSumNegW, Const_func_bool_from_Id_FaceTag isInverted)
SpacingSettings assign (self, ConstSpacingSettings other)
func_float_from_Id_UndirectedEdgeTag dist (self)
None dist (self, Const_func_float_from_Id_UndirectedEdgeTag arg1)
func_bool_from_Id_FaceTag isInverted (self)
None isInverted (self, Const_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, ConstVertBitSet arg1)
float stabilizer (self)
None stabilizer (self, float arg1)
Public Member Functions inherited from mrmeshpy.ConstSpacingSettings
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstSpacingSettings
typing _offsetof_dist = 8
typing _offsetof_isInverted = 56
typing _offsetof_maxSumNegW = 48
typing _offsetof_numIters = 40
typing _offsetof_region = 0
typing _offsetof_stabilizer = 44

Detailed Description

Generated from:  MR::SpacingSettings

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.SpacingSettings.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.SpacingSettings.__init__ ( self)

◆ __init__() [3/4]

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

◆ __init__() [4/4]

None mrmeshpy.SpacingSettings.__init__ ( self,
ConstVertBitSet region,
Const_func_float_from_Id_UndirectedEdgeTag dist,
int numIters,
float stabilizer,
float maxSumNegW,
Const_func_bool_from_Id_FaceTag isInverted )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

SpacingSettings mrmeshpy.SpacingSettings.assign ( self,
ConstSpacingSettings other )

◆ dist() [1/2]

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

Reimplemented from mrmeshpy.ConstSpacingSettings.

◆ dist() [2/2]

None mrmeshpy.SpacingSettings.dist ( self,
Const_func_float_from_Id_UndirectedEdgeTag arg1 )
must be defined by the caller

Reimplemented from mrmeshpy.ConstSpacingSettings.

◆ isInverted() [1/2]

func_bool_from_Id_FaceTag 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

Reimplemented from mrmeshpy.ConstSpacingSettings.

◆ isInverted() [2/2]

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

Reimplemented from mrmeshpy.ConstSpacingSettings.

◆ maxSumNegW() [1/2]

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

Reimplemented from mrmeshpy.ConstSpacingSettings.

◆ maxSumNegW() [2/2]

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

Reimplemented from mrmeshpy.ConstSpacingSettings.

◆ numIters() [1/2]

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

Reimplemented from mrmeshpy.ConstSpacingSettings.

◆ numIters() [2/2]

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

Reimplemented from mrmeshpy.ConstSpacingSettings.

◆ region() [1/2]

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

Reimplemented from mrmeshpy.ConstSpacingSettings.

◆ region() [2/2]

None mrmeshpy.SpacingSettings.region ( self,
ConstVertBitSet arg1 )
vertices to be moved by the algorithm, nullptr means all valid vertices

Reimplemented from mrmeshpy.ConstSpacingSettings.

◆ stabilizer() [1/2]

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

Reimplemented from mrmeshpy.ConstSpacingSettings.

◆ stabilizer() [2/2]

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

Reimplemented from mrmeshpy.ConstSpacingSettings.


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