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

Public Member Functions

 __init__ (self, *args, **kwargs)
float criticalTriAspectRatio (self)
float factorDelone (self)
float maxAngleChange (self)
UndirectedEdgeBitSet notFlippable (self)
FaceBitSet region (self)
VertBitSet vertRegion (self)

Static Protected Attributes

typing _offsetof_criticalTriAspectRatio = 4
typing _offsetof_factorDelone = 8
typing _offsetof_maxAngleChange = 0
typing _offsetof_notFlippable = 24
typing _offsetof_region = 16
typing _offsetof_vertRegion = 32

Detailed Description

Generated from:  MR::ReduceTotalAngleParams

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstReduceTotalAngleParams, maxAngleChange: float, criticalTriAspectRatio: float, factorDelone: float, region: meshlib.mrmeshpy.ConstFaceBitSet, notFlippable: meshlib.mrmeshpy.ConstUndirectedEdgeBitSet, vertRegion: meshlib.mrmeshpy.ConstVertBitSet) -> None

Implicit aggregate constructor.

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

Member Function Documentation

◆ criticalTriAspectRatio()

float mrmeshpy.ConstReduceTotalAngleParams.criticalTriAspectRatio ( self)
if this value is less than FLT_MAX then the algorithm will
ignore dihedral angle check if one of triangles has aspect ratio more than this value

Reimplemented in mrmeshpy.ReduceTotalAngleParams, and mrmeshpy.ReduceTotalAngleParams.

◆ factorDelone()

float mrmeshpy.ConstReduceTotalAngleParams.factorDelone ( self)
This value must be in [0,1] range;
factorDelone = 0 means that only dihedral angles are minimized, ignoring Delaunay criterion;
factorDelone = 1 means that only Delaunay criterion is optimized ignoring dihedral angles;
other values mean that a mixture of both criteria will be optimized

Reimplemented in mrmeshpy.ReduceTotalAngleParams, and mrmeshpy.ReduceTotalAngleParams.

◆ maxAngleChange()

float mrmeshpy.ConstReduceTotalAngleParams.maxAngleChange ( self)
Maximal allowed dihedral angle change (in radians) over the flipped edge

Reimplemented in mrmeshpy.ReduceTotalAngleParams, and mrmeshpy.ReduceTotalAngleParams.

◆ notFlippable()

UndirectedEdgeBitSet mrmeshpy.ConstReduceTotalAngleParams.notFlippable ( self)
Edges specified by this bit-set will never be flipped

Reimplemented in mrmeshpy.ReduceTotalAngleParams, and mrmeshpy.ReduceTotalAngleParams.

◆ region()

FaceBitSet mrmeshpy.ConstReduceTotalAngleParams.region ( self)
Only edges with left and right faces in this set can be flipped

Reimplemented in mrmeshpy.ReduceTotalAngleParams, and mrmeshpy.ReduceTotalAngleParams.

◆ vertRegion()

VertBitSet mrmeshpy.ConstReduceTotalAngleParams.vertRegion ( self)
Only edges with origin or destination in this set before or after flip can be flipped

Reimplemented in mrmeshpy.ReduceTotalAngleParams, and mrmeshpy.ReduceTotalAngleParams.

Member Data Documentation

◆ _offsetof_criticalTriAspectRatio

typing mrmeshpy.ConstReduceTotalAngleParams._offsetof_criticalTriAspectRatio = 4
staticprotected

◆ _offsetof_factorDelone

typing mrmeshpy.ConstReduceTotalAngleParams._offsetof_factorDelone = 8
staticprotected

◆ _offsetof_maxAngleChange

typing mrmeshpy.ConstReduceTotalAngleParams._offsetof_maxAngleChange = 0
staticprotected

◆ _offsetof_notFlippable

typing mrmeshpy.ConstReduceTotalAngleParams._offsetof_notFlippable = 24
staticprotected

◆ _offsetof_region

typing mrmeshpy.ConstReduceTotalAngleParams._offsetof_region = 16
staticprotected

◆ _offsetof_vertRegion

typing mrmeshpy.ConstReduceTotalAngleParams._offsetof_vertRegion = 32
staticprotected

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