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

Public Member Functions

None __init__ (self)
None __init__ (self, ConstReduceTotalAngleParams arg0)
None __init__ (self, float maxAngleChange, float criticalTriAspectRatio, float factorDelone, ConstFaceBitSet region, ConstUndirectedEdgeBitSet notFlippable, ConstVertBitSet vertRegion)
ReduceTotalAngleParams assign (self, ConstReduceTotalAngleParams other)
float criticalTriAspectRatio (self)
None criticalTriAspectRatio (self, float arg1)
float factorDelone (self)
None factorDelone (self, float arg1)
float maxAngleChange (self)
None maxAngleChange (self, float arg1)
UndirectedEdgeBitSet notFlippable (self)
None notFlippable (self, ConstUndirectedEdgeBitSet arg1)
FaceBitSet region (self)
None region (self, ConstFaceBitSet arg1)
VertBitSet vertRegion (self)
None vertRegion (self, ConstVertBitSet arg1)
Public Member Functions inherited from mrmeshpy.ConstReduceTotalAngleParams
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstReduceTotalAngleParams
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__() [1/4]

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

◆ __init__() [2/4]

None mrmeshpy.ReduceTotalAngleParams.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.ReduceTotalAngleParams.__init__ ( self,
ConstReduceTotalAngleParams arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.ReduceTotalAngleParams.__init__ ( self,
float maxAngleChange,
float criticalTriAspectRatio,
float factorDelone,
ConstFaceBitSet region,
ConstUndirectedEdgeBitSet notFlippable,
ConstVertBitSet vertRegion )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

ReduceTotalAngleParams mrmeshpy.ReduceTotalAngleParams.assign ( self,
ConstReduceTotalAngleParams other )

◆ criticalTriAspectRatio() [1/2]

float mrmeshpy.ReduceTotalAngleParams.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 from mrmeshpy.ConstReduceTotalAngleParams.

◆ criticalTriAspectRatio() [2/2]

None mrmeshpy.ReduceTotalAngleParams.criticalTriAspectRatio ( self,
float arg1 )
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 from mrmeshpy.ConstReduceTotalAngleParams.

◆ factorDelone() [1/2]

float mrmeshpy.ReduceTotalAngleParams.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 from mrmeshpy.ConstReduceTotalAngleParams.

◆ factorDelone() [2/2]

None mrmeshpy.ReduceTotalAngleParams.factorDelone ( self,
float arg1 )
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 from mrmeshpy.ConstReduceTotalAngleParams.

◆ maxAngleChange() [1/2]

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

Reimplemented from mrmeshpy.ConstReduceTotalAngleParams.

◆ maxAngleChange() [2/2]

None mrmeshpy.ReduceTotalAngleParams.maxAngleChange ( self,
float arg1 )
Maximal allowed dihedral angle change (in radians) over the flipped edge

Reimplemented from mrmeshpy.ConstReduceTotalAngleParams.

◆ notFlippable() [1/2]

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

Reimplemented from mrmeshpy.ConstReduceTotalAngleParams.

◆ notFlippable() [2/2]

None mrmeshpy.ReduceTotalAngleParams.notFlippable ( self,
ConstUndirectedEdgeBitSet arg1 )
Edges specified by this bit-set will never be flipped

Reimplemented from mrmeshpy.ConstReduceTotalAngleParams.

◆ region() [1/2]

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

Reimplemented from mrmeshpy.ConstReduceTotalAngleParams.

◆ region() [2/2]

None mrmeshpy.ReduceTotalAngleParams.region ( self,
ConstFaceBitSet arg1 )
Only edges with left and right faces in this set can be flipped

Reimplemented from mrmeshpy.ConstReduceTotalAngleParams.

◆ vertRegion() [1/2]

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

Reimplemented from mrmeshpy.ConstReduceTotalAngleParams.

◆ vertRegion() [2/2]

None mrmeshpy.ReduceTotalAngleParams.vertRegion ( self,
ConstVertBitSet arg1 )
Only edges with origin or destination in this set before or after flip can be flipped

Reimplemented from mrmeshpy.ConstReduceTotalAngleParams.


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