Public Member Functions | |
None | __init__ (self) |
None | __init__ (self, float samplingStep, float controlStability, int iterations, std_vector_Vector3_float normals, bool normalsAffectShape) |
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) |
Static Public Member Functions | |
None | __init__ (*args, **kwargs) |
SplineSettings | operator (*args, **kwargs) |
SplineSettings | operator (*args, **kwargs) |
Static Protected Attributes | |
typing | _offsetof_controlStability = 4 |
typing | _offsetof_iterations = 8 |
typing | _offsetof_normals = 16 |
typing | _offsetof_normalsAffectShape = 24 |
typing | _offsetof_samplingStep = 0 |
Generated from: MR::SplineSettings
|
static |
None mrmeshpy.SplineSettings.__init__ | ( | self | ) |
None mrmeshpy.SplineSettings.__init__ | ( | self, | |
float | samplingStep, | ||
float | controlStability, | ||
int | iterations, | ||
std_vector_Vector3_float | normals, | ||
bool | normalsAffectShape ) |
Implicit aggregate constructor.
float mrmeshpy.SplineSettings.controlStability | ( | self | ) |
a positive value, the more the value the closer resulting spline will be to given control points
None mrmeshpy.SplineSettings.controlStability | ( | self, | |
float | arg1 ) |
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
None mrmeshpy.SplineSettings.iterations | ( | self, | |
int | arg1 ) |
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
None mrmeshpy.SplineSettings.normals | ( | self, | |
std_vector_Vector3_float | arg1 ) |
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
None mrmeshpy.SplineSettings.normalsAffectShape | ( | self, | |
bool | arg1 ) |
|
static |
|
static |
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
None mrmeshpy.SplineSettings.samplingStep | ( | self, | |
float | arg1 ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |