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

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

Detailed Description

Generated from:  MR::DecimateResult

\\struct MR::DecimateResult
\\brief Results of MR::decimateMesh
\\sa \\ref decimateMesh
\\sa \\ref resolveMeshDegenerations

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ cancelled()

bool mrmeshpy.ConstDecimateResult.cancelled ( self)
whether the algorithm was cancelled by the callback

Reimplemented in mrmeshpy.DecimateResult, and mrmeshpy.DecimateResult.

◆ errorIntroduced()

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.

◆ facesDeleted()

int mrmeshpy.ConstDecimateResult.facesDeleted ( self)
Number deleted faces

Reimplemented in mrmeshpy.DecimateResult, and mrmeshpy.DecimateResult.

◆ vertsDeleted()

int mrmeshpy.ConstDecimateResult.vertsDeleted ( self)
Number deleted verts. Same as the number of performed collapses

Reimplemented in mrmeshpy.DecimateResult, and mrmeshpy.DecimateResult.

Member Data Documentation

◆ _offsetof_cancelled

typing mrmeshpy.ConstDecimateResult._offsetof_cancelled = 12
staticprotected

◆ _offsetof_errorIntroduced

typing mrmeshpy.ConstDecimateResult._offsetof_errorIntroduced = 8
staticprotected

◆ _offsetof_facesDeleted

typing mrmeshpy.ConstDecimateResult._offsetof_facesDeleted = 4
staticprotected

◆ _offsetof_vertsDeleted

typing mrmeshpy.ConstDecimateResult._offsetof_vertsDeleted = 0
staticprotected

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