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

Public Member Functions

None __init__ (self)
None __init__ (self, ConstSplineSettings arg0)
None __init__ (self, float samplingStep, float controlStability, int iterations, std_vector_Vector3_float normals, bool normalsAffectShape)
SplineSettings assign (self, ConstSplineSettings other)
float controlStability (self)
None controlStability (self, float arg1)
int iterations (self)
None iterations (self, int arg1)
std_vector_Vector3_float normals (self)
None normals (self, std_vector_Vector3_float arg1)
bool normalsAffectShape (self)
None normalsAffectShape (self, bool arg1)
float samplingStep (self)
None samplingStep (self, float arg1)
Public Member Functions inherited from mrmeshpy.ConstSplineSettings
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

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

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

◆ __init__() [2/4]

None mrmeshpy.SplineSettings.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.SplineSettings.__init__ ( self,
ConstSplineSettings arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.SplineSettings.__init__ ( self,
float samplingStep,
float controlStability,
int iterations,
std_vector_Vector3_float normals,
bool normalsAffectShape )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

SplineSettings mrmeshpy.SplineSettings.assign ( self,
ConstSplineSettings other )

◆ controlStability() [1/2]

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

Reimplemented from mrmeshpy.ConstSplineSettings.

◆ controlStability() [2/2]

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

Reimplemented from mrmeshpy.ConstSplineSettings.

◆ iterations() [1/2]

int mrmeshpy.SplineSettings.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 from mrmeshpy.ConstSplineSettings.

◆ iterations() [2/2]

None mrmeshpy.SplineSettings.iterations ( self,
int arg1 )
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 from mrmeshpy.ConstSplineSettings.

◆ normals() [1/2]

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

Reimplemented from mrmeshpy.ConstSplineSettings.

◆ normals() [2/2]

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

Reimplemented from mrmeshpy.ConstSplineSettings.

◆ normalsAffectShape() [1/2]

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

Reimplemented from mrmeshpy.ConstSplineSettings.

◆ normalsAffectShape() [2/2]

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

Reimplemented from mrmeshpy.ConstSplineSettings.

◆ samplingStep() [1/2]

float mrmeshpy.SplineSettings.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 from mrmeshpy.ConstSplineSettings.

◆ samplingStep() [2/2]

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

Reimplemented from mrmeshpy.ConstSplineSettings.


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