Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| bool | cancelled (self) |
| float | errorIntroduced (self) |
| int | facesDeleted (self) |
| int | vertsDeleted (self) |
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 \\sa \\ref decimateMesh \\sa \\ref resolveMeshDegenerations
| mrmeshpy.ConstDecimateResult.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstDecimateResult) -> None 2. __init__(self: meshlib.mrmeshpy.ConstDecimateResult, arg0: meshlib.mrmeshpy.ConstDecimateResult) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstDecimateResult, vertsDeleted: int, facesDeleted: int, errorIntroduced: float, cancelled: bool) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.ConstDecimateResult, : meshlib.mrmeshpy.ConstDecimateResult) -> None
| bool mrmeshpy.ConstDecimateResult.cancelled | ( | self | ) |
whether the algorithm was cancelled by the callback
Reimplemented in mrmeshpy.DecimateResult, and mrmeshpy.DecimateResult.
| float mrmeshpy.ConstDecimateResult.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
Reimplemented in mrmeshpy.DecimateResult, and mrmeshpy.DecimateResult.
| int mrmeshpy.ConstDecimateResult.facesDeleted | ( | self | ) |
Number deleted faces
Reimplemented in mrmeshpy.DecimateResult, and mrmeshpy.DecimateResult.
| int mrmeshpy.ConstDecimateResult.vertsDeleted | ( | self | ) |
Number deleted verts. Same as the number of performed collapses
Reimplemented in mrmeshpy.DecimateResult, and mrmeshpy.DecimateResult.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |