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

Public Member Functions

 __init__ (self, *args, **kwargs)
Const_func_float_from_Id_UndirectedEdgeTag edgeWeights (self)
VertBitSet region (self)
float stabilizer (self)
VertCoords vertShifts (self)
Const_func_float_from_Id_VertTag vertStabilizers (self)

Static Protected Attributes

typing _offsetof_edgeWeights = 56
typing _offsetof_region = 0
typing _offsetof_stabilizer = 16
typing _offsetof_vertShifts = 8
typing _offsetof_vertStabilizers = 24

Detailed Description

Generated from:  MR::PositionVertsSmoothlyParams

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstPositionVertsSmoothlyParams, region: meshlib.mrmeshpy.ConstVertBitSet, vertShifts: meshlib.mrmeshpy.ConstVertCoords, stabilizer: float, vertStabilizers: meshlib.mrmeshpy.Const_func_float_from_Id_VertTag, edgeWeights: meshlib.mrmeshpy.Const_func_float_from_Id_UndirectedEdgeTag) -> None

Implicit aggregate constructor.

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

Member Function Documentation

◆ edgeWeights()

Const_func_float_from_Id_UndirectedEdgeTag mrmeshpy.ConstPositionVertsSmoothlyParams.edgeWeights ( self)
if specified then it is used for edge weights instead of default 1

Reimplemented in mrmeshpy.PositionVertsSmoothlyParams, and mrmeshpy.PositionVertsSmoothlyParams.

◆ region()

VertBitSet mrmeshpy.ConstPositionVertsSmoothlyParams.region ( self)
which vertices on mesh are smoothed, nullptr means all vertices;
it must not include all vertices of a mesh connected component unless stabilizer > 0

Reimplemented in mrmeshpy.PositionVertsSmoothlyParams, and mrmeshpy.PositionVertsSmoothlyParams.

◆ stabilizer()

float mrmeshpy.ConstPositionVertsSmoothlyParams.stabilizer ( self)
the more the value, the bigger attraction of each vertex to its original position

Reimplemented in mrmeshpy.PositionVertsSmoothlyParams, and mrmeshpy.PositionVertsSmoothlyParams.

◆ vertShifts()

VertCoords mrmeshpy.ConstPositionVertsSmoothlyParams.vertShifts ( self)
optional additional shifts of each vertex relative to smooth position

Reimplemented in mrmeshpy.PositionVertsSmoothlyParams, and mrmeshpy.PositionVertsSmoothlyParams.

◆ vertStabilizers()

Const_func_float_from_Id_VertTag mrmeshpy.ConstPositionVertsSmoothlyParams.vertStabilizers ( self)
if specified then it is used instead of \\p stabilizer

Reimplemented in mrmeshpy.PositionVertsSmoothlyParams, and mrmeshpy.PositionVertsSmoothlyParams.

Member Data Documentation

◆ _offsetof_edgeWeights

typing mrmeshpy.ConstPositionVertsSmoothlyParams._offsetof_edgeWeights = 56
staticprotected

◆ _offsetof_region

typing mrmeshpy.ConstPositionVertsSmoothlyParams._offsetof_region = 0
staticprotected

◆ _offsetof_stabilizer

typing mrmeshpy.ConstPositionVertsSmoothlyParams._offsetof_stabilizer = 16
staticprotected

◆ _offsetof_vertShifts

typing mrmeshpy.ConstPositionVertsSmoothlyParams._offsetof_vertShifts = 8
staticprotected

◆ _offsetof_vertStabilizers

typing mrmeshpy.ConstPositionVertsSmoothlyParams._offsetof_vertStabilizers = 24
staticprotected

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