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

Public Member Functions

None __init__ (self)
 
None __init__ (self, ResolveMeshDegenSettings arg0)
 
None __init__ (self, int maxIters, float maxDeviation, float tinyEdgeLength, float maxAngleChange, float criticalAspectRatio, float stabilizer, FaceBitSet region)
 
float criticalAspectRatio (self)
 
None criticalAspectRatio (self, float arg1)
 
float maxAngleChange (self)
 
None maxAngleChange (self, float arg1)
 
float maxDeviation (self)
 
None maxDeviation (self, float arg1)
 
FaceBitSet region (self)
 
None region (self, FaceBitSet arg1)
 
float stabilizer (self)
 
None stabilizer (self, float arg1)
 
float tinyEdgeLength (self)
 
None tinyEdgeLength (self, float arg1)
 

Detailed Description

Generated from:  MR::ResolveMeshDegenSettings

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

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

◆ __init__() [3/3]

None meshlib.mrmeshpy.ResolveMeshDegenSettings.__init__ ( self,
int maxIters,
float maxDeviation,
float tinyEdgeLength,
float maxAngleChange,
float criticalAspectRatio,
float stabilizer,
FaceBitSet region )
Implicit aggregate constructor.

Member Function Documentation

◆ criticalAspectRatio() [1/2]

float meshlib.mrmeshpy.ResolveMeshDegenSettings.criticalAspectRatio ( self)
the algorithm will ignore dihedral angle check if one of triangles had aspect ratio equal or more than this value;
and the algorithm will permit temporary increase in aspect ratio after collapse, if before collapse one of the triangles had larger aspect ratio

◆ criticalAspectRatio() [2/2]

None meshlib.mrmeshpy.ResolveMeshDegenSettings.criticalAspectRatio ( self,
float arg1 )

◆ maxAngleChange() [1/2]

float meshlib.mrmeshpy.ResolveMeshDegenSettings.maxAngleChange ( self)
Permit edge flips if it does not change dihedral angle more than on this value

◆ maxAngleChange() [2/2]

None meshlib.mrmeshpy.ResolveMeshDegenSettings.maxAngleChange ( self,
float arg1 )

◆ maxDeviation() [1/2]

float meshlib.mrmeshpy.ResolveMeshDegenSettings.maxDeviation ( self)
maximum permitted deviation from the original surface

◆ maxDeviation() [2/2]

None meshlib.mrmeshpy.ResolveMeshDegenSettings.maxDeviation ( self,
float arg1 )

◆ region() [1/2]

FaceBitSet meshlib.mrmeshpy.ResolveMeshDegenSettings.region ( self)
degenerations will be fixed only in given region, which is updated during the processing

◆ region() [2/2]

None meshlib.mrmeshpy.ResolveMeshDegenSettings.region ( self,
FaceBitSet arg1 )

◆ stabilizer() [1/2]

float meshlib.mrmeshpy.ResolveMeshDegenSettings.stabilizer ( self)
Small stabilizer is important to achieve good results on completely planar mesh parts,
if your mesh is not-planer everywhere, then you can set it to zero

◆ stabilizer() [2/2]

None meshlib.mrmeshpy.ResolveMeshDegenSettings.stabilizer ( self,
float arg1 )

◆ tinyEdgeLength() [1/2]

float meshlib.mrmeshpy.ResolveMeshDegenSettings.tinyEdgeLength ( self)
edges not longer than this value will be collapsed ignoring normals and aspect ratio checks

◆ tinyEdgeLength() [2/2]

None meshlib.mrmeshpy.ResolveMeshDegenSettings.tinyEdgeLength ( self,
float arg1 )

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