MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::SplineSettings Struct Reference

#include <MRMarkedContour.h>

Public Attributes

float samplingStep = 1
 
float controlStability = 1
 a positive value, the more the value the closer resulting spline will be to given control points
 
int iterations = 1
 
Contour3fnormals = nullptr
 optional parameter with the normals of input points that will be resampled to become normals of output points
 

Member Data Documentation

◆ controlStability

float MR::SplineSettings::controlStability = 1

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

◆ iterations

int MR::SplineSettings::iterations = 1

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

Contour3f* MR::SplineSettings::normals = nullptr

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

◆ samplingStep

float MR::SplineSettings::samplingStep = 1

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 struct was generated from the following file: