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

Public Member Functions

 __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_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::RelaxParams

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ force()

float mrmeshpy.ConstRelaxParams.force ( self)
speed of relaxing, typical values (0.0, 0.5]

Reimplemented in mrmeshpy.RelaxParams, and mrmeshpy.RelaxParams.

◆ iterations()

int mrmeshpy.ConstRelaxParams.iterations ( self)
number of iterations

Reimplemented in mrmeshpy.RelaxParams, and mrmeshpy.RelaxParams.

◆ limitNearInitial()

bool mrmeshpy.ConstRelaxParams.limitNearInitial ( self)
if true then maximal displacement of each point during denoising will be limited

Reimplemented in mrmeshpy.RelaxParams, and mrmeshpy.RelaxParams.

◆ maxInitialDist()

float mrmeshpy.ConstRelaxParams.maxInitialDist ( self)
maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false

Reimplemented in mrmeshpy.RelaxParams, and mrmeshpy.RelaxParams.

◆ region()

VertBitSet mrmeshpy.ConstRelaxParams.region ( self)
region to relax

Reimplemented in mrmeshpy.RelaxParams, and mrmeshpy.RelaxParams.

◆ updateCaches()

bool mrmeshpy.ConstRelaxParams.updateCaches ( self)
in functions taking Mesh or PointCloud: if false then all mesh caches (AABB trees) are invalidated after relaxation,
if true then they are updated only in the region (faster, but the trees might become less efficient)

Reimplemented in mrmeshpy.RelaxParams, and mrmeshpy.RelaxParams.

Member Data Documentation

◆ _offsetof_force

typing mrmeshpy.ConstRelaxParams._offsetof_force = 16
staticprotected

◆ _offsetof_iterations

typing mrmeshpy.ConstRelaxParams._offsetof_iterations = 0
staticprotected

◆ _offsetof_limitNearInitial

typing mrmeshpy.ConstRelaxParams._offsetof_limitNearInitial = 21
staticprotected

◆ _offsetof_maxInitialDist

typing mrmeshpy.ConstRelaxParams._offsetof_maxInitialDist = 24
staticprotected

◆ _offsetof_region

typing mrmeshpy.ConstRelaxParams._offsetof_region = 8
staticprotected

◆ _offsetof_updateCaches

typing mrmeshpy.ConstRelaxParams._offsetof_updateCaches = 20
staticprotected

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