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

Public Member Functions

 __init__ (self, *args, **kwargs)
float errorIntroduced (self)
int vertsDeleted (self)

Static Protected Attributes

typing _offsetof_errorIntroduced = 4
typing _offsetof_vertsDeleted = 0

Detailed Description

Generated from:  MR::DecimatePolylineResult

\\struct MR::DecimatePolylineResult
\\brief Results of MR::decimateContour

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstDecimatePolylineResult.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstDecimatePolylineResult) -> None

2. __init__(self: meshlib.mrmeshpy.ConstDecimatePolylineResult, arg0: meshlib.mrmeshpy.ConstDecimatePolylineResult) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstDecimatePolylineResult, vertsDeleted: int, errorIntroduced: float) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstDecimatePolylineResult, : meshlib.mrmeshpy.ConstDecimatePolylineResult) -> None

Member Function Documentation

◆ errorIntroduced()

float mrmeshpy.ConstDecimatePolylineResult.errorIntroduced ( self)
Max different (as distance) between original contour and result contour

Reimplemented in mrmeshpy.DecimatePolylineResult, and mrmeshpy.DecimatePolylineResult.

◆ vertsDeleted()

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

Reimplemented in mrmeshpy.DecimatePolylineResult, and mrmeshpy.DecimatePolylineResult.

Member Data Documentation

◆ _offsetof_errorIntroduced

typing mrmeshpy.ConstDecimatePolylineResult._offsetof_errorIntroduced = 4
staticprotected

◆ _offsetof_vertsDeleted

typing mrmeshpy.ConstDecimatePolylineResult._offsetof_vertsDeleted = 0
staticprotected

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