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

Public Member Functions

 __init__ (self, *args, **kwargs)
float controlStability (self)
int iterations (self)
std_vector_Vector3_float normals (self)
bool normalsAffectShape (self)
float samplingStep (self)

Static Protected Attributes

typing _offsetof_controlStability = 4
typing _offsetof_iterations = 8
typing _offsetof_normals = 16
typing _offsetof_normalsAffectShape = 24
typing _offsetof_samplingStep = 0

Detailed Description

Generated from:  MR::SplineSettings

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstSplineSettings, samplingStep: float, controlStability: float, iterations: int, normals: meshlib.mrmeshpy.std_vector_Vector3_float, normalsAffectShape: bool) -> None

Implicit aggregate constructor.

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

Member Function Documentation

◆ controlStability()

float mrmeshpy.ConstSplineSettings.controlStability ( self)
a positive value, the more the value the closer resulting spline will be to given control points

Reimplemented in mrmeshpy.SplineSettings, and mrmeshpy.SplineSettings.

◆ iterations()

int mrmeshpy.ConstSplineSettings.iterations ( self)
the shape of resulting spline depends on the total number of points in the contour,
which in turn depends on the length of input contour being sampled;
setting iterations greater than one allows you to pass a constructed spline as a better input contour to the next run of the algorithm

Reimplemented in mrmeshpy.SplineSettings, and mrmeshpy.SplineSettings.

◆ normals()

std_vector_Vector3_float mrmeshpy.ConstSplineSettings.normals ( self)
optional parameter with the normals of input points that will be resampled to become normals of output points

Reimplemented in mrmeshpy.SplineSettings, and mrmeshpy.SplineSettings.

◆ normalsAffectShape()

bool mrmeshpy.ConstSplineSettings.normalsAffectShape ( self)
if true and normals are provided, then the curve at marked points will try to be orthogonal to given normal there

Reimplemented in mrmeshpy.SplineSettings, and mrmeshpy.SplineSettings.

◆ samplingStep()

float mrmeshpy.ConstSplineSettings.samplingStep ( self)
additional points will be added between each pair of control points,
until the distance between neighbor points becomes less than this distance

Reimplemented in mrmeshpy.SplineSettings, and mrmeshpy.SplineSettings.

Member Data Documentation

◆ _offsetof_controlStability

typing mrmeshpy.ConstSplineSettings._offsetof_controlStability = 4
staticprotected

◆ _offsetof_iterations

typing mrmeshpy.ConstSplineSettings._offsetof_iterations = 8
staticprotected

◆ _offsetof_normals

typing mrmeshpy.ConstSplineSettings._offsetof_normals = 16
staticprotected

◆ _offsetof_normalsAffectShape

typing mrmeshpy.ConstSplineSettings._offsetof_normalsAffectShape = 24
staticprotected

◆ _offsetof_samplingStep

typing mrmeshpy.ConstSplineSettings._offsetof_samplingStep = 0
staticprotected

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