This spline is special in that the interpolating spline passes exactly through the specified control points.
Catmull, Edwin and Rom, Raphael, A class of local interpolating splines, in R.E. Barnhill and R.F. Riesenfe}d (eds.) Computer Aided Geometric Design, Academic Press, New York, 1974, 317-326
Static Public Member Functions | |
static std::vector< float > | interpolate (const std::vector< float > &x1, const std::vector< float > &y1, const std::vector< float > &x2) |
static std::vector< float > | sort_and_interpolate (const std::vector< float > &x1, const std::vector< float > &y1, const std::vector< float > &x2) |
static std::vector<float> w2img::CatmullRomSpline::interpolate | ( | const std::vector< float > & | x1, | |
const std::vector< float > & | y1, | |||
const std::vector< float > & | x2 | |||
) | [static] |
static std::vector<float> w2img::CatmullRomSpline::sort_and_interpolate | ( | const std::vector< float > & | x1, | |
const std::vector< float > & | y1, | |||
const std::vector< float > & | x2 | |||
) | [static] |