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

Public Member Functions

 __init__ (self, *args, **kwargs)
float criticalAspectRatio (self)
float maxAngleChange (self)
float maxDeviation (self)
FaceBitSet region (self)
float stabilizer (self)
float tinyEdgeLength (self)

Static Protected Attributes

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__()

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

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

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

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstResolveMeshDegenSettings, maxDeviation: float, tinyEdgeLength: float, maxAngleChange: float, criticalAspectRatio: float, stabilizer: float, region: meshlib.mrmeshpy.FaceBitSet) -> None

Implicit aggregate constructor.

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

Member Function Documentation

◆ criticalAspectRatio()

float mrmeshpy.ConstResolveMeshDegenSettings.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 in mrmeshpy.ResolveMeshDegenSettings, and mrmeshpy.ResolveMeshDegenSettings.

◆ maxAngleChange()

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

Reimplemented in mrmeshpy.ResolveMeshDegenSettings, and mrmeshpy.ResolveMeshDegenSettings.

◆ maxDeviation()

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

Reimplemented in mrmeshpy.ResolveMeshDegenSettings, and mrmeshpy.ResolveMeshDegenSettings.

◆ region()

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

Reimplemented in mrmeshpy.ResolveMeshDegenSettings, and mrmeshpy.ResolveMeshDegenSettings.

◆ stabilizer()

float mrmeshpy.ConstResolveMeshDegenSettings.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 in mrmeshpy.ResolveMeshDegenSettings, and mrmeshpy.ResolveMeshDegenSettings.

◆ tinyEdgeLength()

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

Reimplemented in mrmeshpy.ResolveMeshDegenSettings, and mrmeshpy.ResolveMeshDegenSettings.

Member Data Documentation

◆ _offsetof_criticalAspectRatio

typing mrmeshpy.ConstResolveMeshDegenSettings._offsetof_criticalAspectRatio = 12
staticprotected

◆ _offsetof_maxAngleChange

typing mrmeshpy.ConstResolveMeshDegenSettings._offsetof_maxAngleChange = 8
staticprotected

◆ _offsetof_maxDeviation

typing mrmeshpy.ConstResolveMeshDegenSettings._offsetof_maxDeviation = 0
staticprotected

◆ _offsetof_region

typing mrmeshpy.ConstResolveMeshDegenSettings._offsetof_region = 24
staticprotected

◆ _offsetof_stabilizer

typing mrmeshpy.ConstResolveMeshDegenSettings._offsetof_stabilizer = 16
staticprotected

◆ _offsetof_tinyEdgeLength

typing mrmeshpy.ConstResolveMeshDegenSettings._offsetof_tinyEdgeLength = 4
staticprotected

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