MeshLib C# Docs
Loading...
Searching...
No Matches
MR.SplineSettings Class Reference

Generated from class MR.SplineSettings. This is the non-const half of the class. More...

+ Inheritance diagram for MR.SplineSettings:

Public Member Functions

unsafe SplineSettings ()
 Constructs an empty (default-constructed) instance.
 
unsafe SplineSettings (float samplingStep, float controlStability, int iterations, MR.Std.Vector_MRVector3f? normals, bool normalsAffectShape)
 Constructs MR.SplineSettings elementwise.
 
unsafe SplineSettings (MR.Const_SplineSettings _other)
 Generated from constructor MR.SplineSettings.SplineSettings.
 
 SplineSettings (SplineSettings _other)
 Generated from constructor MR.SplineSettings.SplineSettings.
 
unsafe MR.SplineSettings assign (MR.Const_SplineSettings _other)
 Generated from method MR.SplineSettings.operator=.
 

Properties

new unsafe ref float samplingStep [get]
 
new unsafe ref float controlStability [get]
 a positive value, the more the value the closer resulting spline will be to given control points
 
new unsafe ref int iterations [get]
 
new unsafe MR.Std.? Vector_MRVector3f normals [get, set]
 optional parameter with the normals of input points that will be resampled to become normals of output points
 
new unsafe ref bool normalsAffectShape [get]
 if true and normals are provided, then the curve at marked points will try to be orthogonal to given normal there
 

Detailed Description

Generated from class MR.SplineSettings. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ SplineSettings() [1/4]

unsafe MR.SplineSettings.SplineSettings ( )
inline

Constructs an empty (default-constructed) instance.

◆ SplineSettings() [2/4]

unsafe MR.SplineSettings.SplineSettings ( float samplingStep,
float controlStability,
int iterations,
MR.Std.Vector_MRVector3f? normals,
bool normalsAffectShape )
inline

Constructs MR.SplineSettings elementwise.

◆ SplineSettings() [3/4]

unsafe MR.SplineSettings.SplineSettings ( MR.Const_SplineSettings _other)
inline

Generated from constructor MR.SplineSettings.SplineSettings.

◆ SplineSettings() [4/4]

MR.SplineSettings.SplineSettings ( SplineSettings _other)
inline

Generated from constructor MR.SplineSettings.SplineSettings.

Member Function Documentation

◆ assign()

unsafe MR.SplineSettings MR.SplineSettings.assign ( MR.Const_SplineSettings _other)
inline

Generated from method MR.SplineSettings.operator=.

Property Documentation

◆ controlStability

new unsafe ref float MR.SplineSettings.controlStability
get

a positive value, the more the value the closer resulting spline will be to given control points

◆ iterations

new unsafe ref int MR.SplineSettings.iterations
get

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

◆ normals

new unsafe MR.Std.? Vector_MRVector3f MR.SplineSettings.normals
getset

optional parameter with the normals of input points that will be resampled to become normals of output points

◆ normalsAffectShape

new unsafe ref bool MR.SplineSettings.normalsAffectShape
get

if true and normals are provided, then the curve at marked points will try to be orthogonal to given normal there

◆ samplingStep

new unsafe ref float MR.SplineSettings.samplingStep
get

additional points will be added between each pair of control points, until the distance between neighbor points becomes less than this distance


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