Public Member Functions | |
None | __init__ (self) |
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) |
Static Public Member Functions | |
None | __init__ (*args, **kwargs) |
SpacingSettings | operator (*args, **kwargs) |
SpacingSettings | operator (*args, **kwargs) |
Static Protected Attributes | |
typing | _offsetof_dist = 8 |
typing | _offsetof_isInverted = 88 |
typing | _offsetof_maxSumNegW = 80 |
typing | _offsetof_numIters = 72 |
typing | _offsetof_region = 0 |
typing | _offsetof_stabilizer = 76 |
Generated from: MR::SpacingSettings
|
static |
None mrmeshpy.SpacingSettings.__init__ | ( | self | ) |
None 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.
func_float_from_Id_UndirectedEdgeTag mrmeshpy.SpacingSettings.dist | ( | self | ) |
must be defined by the caller
None mrmeshpy.SpacingSettings.dist | ( | self, | |
func_float_from_Id_UndirectedEdgeTag | arg1 ) |
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
None mrmeshpy.SpacingSettings.isInverted | ( | self, | |
func_bool_from_Id_FaceTag | arg1 ) |
float mrmeshpy.SpacingSettings.maxSumNegW | ( | self | ) |
maximum sum of minus negative weights, if it is exceeded then stabilizer is increased automatically
None mrmeshpy.SpacingSettings.maxSumNegW | ( | self, | |
float | arg1 ) |
int mrmeshpy.SpacingSettings.numIters | ( | self | ) |
the algorithm is iterative, the more iterations the closer result to exact solution
None mrmeshpy.SpacingSettings.numIters | ( | self, | |
int | arg1 ) |
|
static |
|
static |
VertBitSet mrmeshpy.SpacingSettings.region | ( | self | ) |
vertices to be moved by the algorithm, nullptr means all valid vertices
None mrmeshpy.SpacingSettings.region | ( | self, | |
VertBitSet | arg1 ) |
float mrmeshpy.SpacingSettings.stabilizer | ( | self | ) |
too small number here can lead to instability, too large - to slow convergence
None mrmeshpy.SpacingSettings.stabilizer | ( | self, | |
float | arg1 ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |