SPLINE_FIT_s (view source)
Defined in: uf_modl_types.h
Also known as:
- SPLINE_FIT_t
- SPLINE_FIT_p_t
Overview
Define the data structure used by UF_MODL_create_fitted_spline().
For "By Tolerance" method, you need to at least specify 'degree', 'num_of_points',
'points', 'tolerance' and 'num_of_segments'(must be zero).
For "By Segments" method, you need to at least specify 'degree', 'num_of_points',
'points', and 'num_of_segments'.
The "By Template" method is not supported at this moment.
Data Members
points
double *
slopes
double *
weights
double *
tolerance
double
num_of_points
int
slope_flag
int
num_of_weights
int
weight_positions
int *
num_of_segments
int
degree
int
points[0~2] = (x, y, z) for the 1st point,
points[3~5] = (x, y, z) for the 2nd point,
...