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

Public Member Functions

None __init__ (self)
None __init__ (self, ConstResolveMeshDegenSettings arg0)
None __init__ (self, float maxDeviation, float tinyEdgeLength, float maxAngleChange, float criticalAspectRatio, float stabilizer, FaceBitSet region)
ResolveMeshDegenSettings assign (self, ConstResolveMeshDegenSettings other)
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)
Public Member Functions inherited from mrmeshpy.ConstResolveMeshDegenSettings
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstResolveMeshDegenSettings
typing _offsetof_criticalAspectRatio = 12
typing _offsetof_maxAngleChange = 8
typing _offsetof_maxDeviation = 0
typing _offsetof_region = 24
typing _offsetof_stabilizer = 16
typing _offsetof_tinyEdgeLength = 4

Detailed Description

Generated from:  MR::ResolveMeshDegenSettings

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.ResolveMeshDegenSettings.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.ResolveMeshDegenSettings.__init__ ( self)

◆ __init__() [3/4]

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

◆ __init__() [4/4]

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

Member Function Documentation

◆ assign()

ResolveMeshDegenSettings mrmeshpy.ResolveMeshDegenSettings.assign ( self,
ConstResolveMeshDegenSettings other )

◆ criticalAspectRatio() [1/2]

float 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

Reimplemented from mrmeshpy.ConstResolveMeshDegenSettings.

◆ criticalAspectRatio() [2/2]

None mrmeshpy.ResolveMeshDegenSettings.criticalAspectRatio ( self,
float arg1 )
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

Reimplemented from mrmeshpy.ConstResolveMeshDegenSettings.

◆ maxAngleChange() [1/2]

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

Reimplemented from mrmeshpy.ConstResolveMeshDegenSettings.

◆ maxAngleChange() [2/2]

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

Reimplemented from mrmeshpy.ConstResolveMeshDegenSettings.

◆ maxDeviation() [1/2]

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

Reimplemented from mrmeshpy.ConstResolveMeshDegenSettings.

◆ maxDeviation() [2/2]

None mrmeshpy.ResolveMeshDegenSettings.maxDeviation ( self,
float arg1 )
maximum permitted deviation from the original surface

Reimplemented from mrmeshpy.ConstResolveMeshDegenSettings.

◆ region() [1/2]

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

Reimplemented from mrmeshpy.ConstResolveMeshDegenSettings.

◆ region() [2/2]

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

Reimplemented from mrmeshpy.ConstResolveMeshDegenSettings.

◆ stabilizer() [1/2]

float 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

Reimplemented from mrmeshpy.ConstResolveMeshDegenSettings.

◆ stabilizer() [2/2]

None mrmeshpy.ResolveMeshDegenSettings.stabilizer ( self,
float arg1 )
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

Reimplemented from mrmeshpy.ConstResolveMeshDegenSettings.

◆ tinyEdgeLength() [1/2]

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

Reimplemented from mrmeshpy.ConstResolveMeshDegenSettings.

◆ tinyEdgeLength() [2/2]

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

Reimplemented from mrmeshpy.ConstResolveMeshDegenSettings.


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