Public Member Functions | |
None | __init__ (self) |
None | __init__ (self, int vertsDeleted, int facesDeleted, float errorIntroduced, bool cancelled) |
bool | cancelled (self) |
None | cancelled (self, bool arg1) |
float | errorIntroduced (self) |
None | errorIntroduced (self, float arg1) |
int | facesDeleted (self) |
None | facesDeleted (self, int arg1) |
int | vertsDeleted (self) |
None | vertsDeleted (self, int arg1) |
Static Public Member Functions | |
None | __init__ (*args, **kwargs) |
DecimateResult | operator (*args, **kwargs) |
DecimateResult | operator (*args, **kwargs) |
Static Protected Attributes | |
typing | _offsetof_cancelled = 12 |
typing | _offsetof_errorIntroduced = 8 |
typing | _offsetof_facesDeleted = 4 |
typing | _offsetof_vertsDeleted = 0 |
Generated from: MR::DecimateResult \\struct MR::DecimateResult \\brief Results of MR::decimateMesh \\ingroup DecimateGroup \\sa \\ref decimateMesh \\sa \\ref decimateParallelMesh \\sa \\ref resolveMeshDegenerations
|
static |
None mrmeshpy.DecimateResult.__init__ | ( | self | ) |
None mrmeshpy.DecimateResult.__init__ | ( | self, | |
int | vertsDeleted, | ||
int | facesDeleted, | ||
float | errorIntroduced, | ||
bool | cancelled ) |
Implicit aggregate constructor.
bool mrmeshpy.DecimateResult.cancelled | ( | self | ) |
whether the algorithm was cancelled by the callback
None mrmeshpy.DecimateResult.cancelled | ( | self, | |
bool | arg1 ) |
float mrmeshpy.DecimateResult.errorIntroduced | ( | self | ) |
for DecimateStrategy::MinimizeError: estimated distance deviation of decimated mesh from the original mesh for DecimateStrategy::ShortestEdgeFirst: the shortest remaining edge in the mesh
None mrmeshpy.DecimateResult.errorIntroduced | ( | self, | |
float | arg1 ) |
int mrmeshpy.DecimateResult.facesDeleted | ( | self | ) |
Number deleted faces
None mrmeshpy.DecimateResult.facesDeleted | ( | self, | |
int | arg1 ) |
|
static |
|
static |
int mrmeshpy.DecimateResult.vertsDeleted | ( | self | ) |
Number deleted verts. Same as the number of performed collapses
None mrmeshpy.DecimateResult.vertsDeleted | ( | self, | |
int | arg1 ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |