Top |
Interpolate a curve based on its control points using an algorithm that solves the tridiagonal equation based on Numerical Recipies 2nd Edition
PocPointArray * poc_spline_get_points (PocPointArray *points
,gdouble min_x
,gdouble max_x
,guint veclen
);
Compute a vector of veclen
points spaced evenly between and including
min_x
and max_x
.
PocDoubleArray * poc_spline_get_vector (PocPointArray *points
,gdouble min_x
,gdouble max_x
,guint veclen
);
Compute a vector of veclen
Y coordinates spaced evenly between and
including min_x
and max_x
.