MeshLib Python Docs
Loading...
Searching...
No Matches
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)
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

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 mrmeshpy.DecimateResult.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/3]

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

◆ __init__() [3/3]

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

Member Function Documentation

◆ _pybind11_conduit_v1_()

mrmeshpy.DecimateResult._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

◆ cancelled() [1/2]

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

◆ cancelled() [2/2]

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

◆ errorIntroduced() [1/2]

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

◆ errorIntroduced() [2/2]

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

◆ facesDeleted() [1/2]

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

◆ facesDeleted() [2/2]

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

◆ vertsDeleted() [1/2]

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

◆ vertsDeleted() [2/2]

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

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