Spline fitting methods. More...
#include <SplineFitting.h>
Public Types | |
typedef SplineType::KnotVectorType | KnotVectorType |
Static Public Member Functions | |
template<typename PointArrayType > | |
static SplineType | Interpolate (const PointArrayType &pts, DenseIndex degree) |
Fits an interpolating Spline to the given data points. | |
template<typename PointArrayType > | |
static SplineType | Interpolate (const PointArrayType &pts, DenseIndex degree, const KnotVectorType &knot_parameters) |
Fits an interpolating Spline to the given data points. |
Spline fitting methods.
SplineType Interpolate | ( | const PointArrayType & | pts, |
DenseIndex | degree | ||
) | [static] |
Fits an interpolating Spline to the given data points.
pts | The points for which an interpolating spline will be computed. |
degree | The degree of the interpolating spline. |
References Eigen::ChordLengths().
SplineType Interpolate | ( | const PointArrayType & | pts, |
DenseIndex | degree, | ||
const KnotVectorType & | knot_parameters | ||
) | [static] |
Fits an interpolating Spline to the given data points.
pts | The points for which an interpolating spline will be computed. |
degree | The degree of the interpolating spline. |
knot_parameters | The knot parameters for the interpolation. |
References Eigen::KnotAveraging(), and HouseholderQR< class >::solve().