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

Public Member Functions

 __init__ (self, *args, **kwargs)
bool hardSmoothTetrahedrons (self)
VertScalars weights (self)
Public Member Functions inherited from mrmeshpy.ConstRelaxParams
 __init__ (self, *args, **kwargs)
float force (self)
int iterations (self)
bool limitNearInitial (self)
float maxInitialDist (self)
VertBitSet region (self)
bool updateCaches (self)

Static Protected Attributes

typing _offsetof_hardSmoothTetrahedrons = 32
typing _offsetof_weights = 40
Static Protected Attributes inherited from mrmeshpy.ConstRelaxParams
typing _offsetof_force = 16
typing _offsetof_iterations = 0
typing _offsetof_limitNearInitial = 21
typing _offsetof_maxInitialDist = 24
typing _offsetof_region = 8
typing _offsetof_updateCaches = 20

Detailed Description

Generated from:  MR::MeshRelaxParams

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstMeshRelaxParams, : meshlib.mrmeshpy.ConstMeshRelaxParams) -> None

Member Function Documentation

◆ hardSmoothTetrahedrons()

bool mrmeshpy.ConstMeshRelaxParams.hardSmoothTetrahedrons ( self)
move all region vertices with exactly three neighbor vertices in the center of the neighbors

Reimplemented in mrmeshpy.MeshRelaxParams, and mrmeshpy.MeshRelaxParams.

◆ weights()

VertScalars mrmeshpy.ConstMeshRelaxParams.weights ( self)
weight for each vertex. By default, all the vertices have equal weights.

Reimplemented in mrmeshpy.MeshRelaxParams, and mrmeshpy.MeshRelaxParams.

Member Data Documentation

◆ _offsetof_hardSmoothTetrahedrons

typing mrmeshpy.ConstMeshRelaxParams._offsetof_hardSmoothTetrahedrons = 32
staticprotected

◆ _offsetof_weights

typing mrmeshpy.ConstMeshRelaxParams._offsetof_weights = 40
staticprotected

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