UF_SO_spline_data_s (view source)
Defined in: uf_so.h
Also known as:
- UF_SO_spline_data_t
- UF_SO_spline_data_p_t
Overview
Structure definition for general spline data. It includes all the input
elements to create a general smart spline object.
The degree may be between 1 and 24.
The array size of interpolation type, position, direction, magnitude,
and curvature should all be number of positions. The array size for
parameter is number of positions for nonperiodic case and number of
positions + 1 for periodic case. For from pole method, the direction,
tangency and curvature constraints can be applied to start and end
positions only.
The parameters are for through point method only. Default parameters will
be used if the input is NULL.
The symmetric option can be applied to one end only for through point
method. You need to input symmetric direction for this option.
Data Members
method
int
degree
int
periodic
int
nump
int
itype
int *
position
parameter
double *
direction
magnitude
curvature
symmetric [ 2 ]
int
0 = through points
1 = from poles