![]() |
Eigen-unsupported
3.2.7
|
This module provides a simple multi-dimensional spline class while offering most basic functionality to fit a spline to point sets.
Classes | |
class | Spline< _Scalar, _Dim, _Degree > |
A class representing multi-dimensional spline curves. More... | |
struct | SplineFitting< SplineType > |
Spline fitting methods. More... | |
struct | SplineTraits< Spline< _Scalar, _Dim, _Degree >, _DerivativeOrder > |
Compile-time attributes of the Spline class for fixed degree. More... | |
struct | SplineTraits< Spline< _Scalar, _Dim, _Degree >, Dynamic > |
Compile-time attributes of the Spline class for Dynamic degree. More... | |
Functions | |
template<typename PointArrayType , typename KnotVectorType > | |
void | ChordLengths (const PointArrayType &pts, KnotVectorType &chord_lengths) |
Computes chord length parameters which are required for spline interpolation. More... | |
template<typename KnotVectorType > | |
void | KnotAveraging (const KnotVectorType ¶meters, DenseIndex degree, KnotVectorType &knots) |
Computes knot averages.The knots are computed as
where | |
void Eigen::ChordLengths | ( | const PointArrayType & | pts, |
KnotVectorType & | chord_lengths | ||
) |
Computes chord length parameters which are required for spline interpolation.
[in] | pts | The data points to which a spline should be fit. |
[out] | chord_lengths | The resulting chord lenggth vector. |
Referenced by SplineFitting< SplineType >::Interpolate().
void Eigen::KnotAveraging | ( | const KnotVectorType & | parameters, |
DenseIndex | degree, | ||
KnotVectorType & | knots | ||
) |
Computes knot averages.The knots are computed as
where is the degree and
the number knots of the desired interpolating spline.
[in] | parameters | The input parameters. During interpolation one for each data point. |
[in] | degree | The spline degree which is used during the interpolation. |
[out] | knots | The output knot vector. |
Referenced by SplineFitting< SplineType >::Interpolate().