MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.DecimateResult Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, DecimateResult arg0)
 
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)
 

Detailed Description

Generated from:  MR::DecimateResult


 \\struct MR::DecimateResult
 \\brief Results of MR::decimateMesh
 \\ingroup DecimateGroup

 \\sa \\ref decimateMesh
 \\sa \\ref decimateParallelMesh
 \\sa \\ref resolveMeshDegenerations

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.DecimateResult.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/3]

None meshlib.mrmeshpy.DecimateResult.__init__ ( self,
DecimateResult arg0 )
Implicit copy constructor.

◆ __init__() [3/3]

None meshlib.mrmeshpy.DecimateResult.__init__ ( self,
int vertsDeleted,
int facesDeleted,
float errorIntroduced,
bool cancelled )
Implicit aggregate constructor.

Member Function Documentation

◆ cancelled() [1/2]

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

◆ cancelled() [2/2]

None meshlib.mrmeshpy.DecimateResult.cancelled ( self,
bool arg1 )

◆ errorIntroduced() [1/2]

float meshlib.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

◆ errorIntroduced() [2/2]

None meshlib.mrmeshpy.DecimateResult.errorIntroduced ( self,
float arg1 )

◆ facesDeleted() [1/2]

int meshlib.mrmeshpy.DecimateResult.facesDeleted ( self)
Number deleted faces

◆ facesDeleted() [2/2]

None meshlib.mrmeshpy.DecimateResult.facesDeleted ( self,
int arg1 )

◆ vertsDeleted() [1/2]

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

◆ vertsDeleted() [2/2]

None meshlib.mrmeshpy.DecimateResult.vertsDeleted ( self,
int arg1 )

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