MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.SplineSettings Class Reference

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
 

Detailed Description

Generated from:  MR::SplineSettings

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

None mrmeshpy.SplineSettings.__init__ ( self)

◆ __init__() [3/3]

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

Member Function Documentation

◆ 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

◆ controlStability() [2/2]

None mrmeshpy.SplineSettings.controlStability ( self,
float arg1 )

◆ 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

◆ iterations() [2/2]

None mrmeshpy.SplineSettings.iterations ( self,
int arg1 )

◆ 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

◆ normals() [2/2]

None mrmeshpy.SplineSettings.normals ( self,
std_vector_Vector3_float arg1 )

◆ 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

◆ normalsAffectShape() [2/2]

None mrmeshpy.SplineSettings.normalsAffectShape ( self,
bool arg1 )

◆ operator() [1/2]

SplineSettings mrmeshpy.SplineSettings.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

SplineSettings mrmeshpy.SplineSettings.operator ( * args,
** kwargs )
static

◆ 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

◆ samplingStep() [2/2]

None mrmeshpy.SplineSettings.samplingStep ( self,
float arg1 )

Member Data Documentation

◆ _offsetof_controlStability

typing mrmeshpy.SplineSettings._offsetof_controlStability = 4
staticprotected

◆ _offsetof_iterations

typing mrmeshpy.SplineSettings._offsetof_iterations = 8
staticprotected

◆ _offsetof_normals

typing mrmeshpy.SplineSettings._offsetof_normals = 16
staticprotected

◆ _offsetof_normalsAffectShape

typing mrmeshpy.SplineSettings._offsetof_normalsAffectShape = 24
staticprotected

◆ _offsetof_samplingStep

typing mrmeshpy.SplineSettings._offsetof_samplingStep = 0
staticprotected

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