Eigen::SplineFitting< SplineType > Struct Template Reference

Detailed Description

template<typename SplineType>
struct Eigen::SplineFitting< SplineType >

Spline fitting methods.

List of all members.

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.
template<typename PointArrayType , typename IndexArray >
static SplineType InterpolateWithDerivatives (const PointArrayType &points, const PointArrayType &derivatives, const IndexArray &derivativeIndices, const unsigned int degree)
 Fits an interpolating spline to the given data points and derivatives.
template<typename PointArrayType , typename IndexArray >
static SplineType InterpolateWithDerivatives (const PointArrayType &points, const PointArrayType &derivatives, const IndexArray &derivativeIndices, const unsigned int degree, const ParameterVectorType &parameters)
 Fits an interpolating spline to the given data points and derivatives.

Member Function Documentation

template<typename SplineType >
template<typename PointArrayType >
SplineType Eigen::SplineFitting< SplineType >::Interpolate ( const PointArrayType &  pts,
DenseIndex  degree 
) [static]

Fits an interpolating Spline to the given data points.

Parameters:
ptsThe points for which an interpolating spline will be computed.
degreeThe degree of the interpolating spline.
Returns:
A spline interpolating the initially provided points.
template<typename SplineType >
template<typename PointArrayType >
SplineType Eigen::SplineFitting< SplineType >::Interpolate ( const PointArrayType &  pts,
DenseIndex  degree,
const KnotVectorType &  knot_parameters 
) [static]

Fits an interpolating Spline to the given data points.

Parameters:
ptsThe points for which an interpolating spline will be computed.
degreeThe degree of the interpolating spline.
knot_parametersThe knot parameters for the interpolation.
Returns:
A spline interpolating the initially provided points.
template<typename SplineType >
template<typename PointArrayType , typename IndexArray >
SplineType Eigen::SplineFitting< SplineType >::InterpolateWithDerivatives ( const PointArrayType &  points,
const PointArrayType &  derivatives,
const IndexArray &  derivativeIndices,
const unsigned int  degree 
) [static]

Fits an interpolating spline to the given data points and derivatives.

Parameters:
pointsThe points for which an interpolating spline will be computed.
derivativesThe desired derivatives of the interpolating spline at interpolation points.
derivativeIndicesAn array indicating which point each derivative belongs to. This must be the same size as derivatives.
degreeThe degree of the interpolating spline.
Returns:
A spline interpolating points with derivatives at those points.
See also:
Les A. Piegl, Khairan Rajab, Volha Smarodzinana. 2008. Curve interpolation with directional constraints for engineering design. Engineering with Computers
template<typename SplineType >
template<typename PointArrayType , typename IndexArray >
SplineType Eigen::SplineFitting< SplineType >::InterpolateWithDerivatives ( const PointArrayType &  points,
const PointArrayType &  derivatives,
const IndexArray &  derivativeIndices,
const unsigned int  degree,
const ParameterVectorType &  parameters 
) [static]

Fits an interpolating spline to the given data points and derivatives.

Parameters:
pointsThe points for which an interpolating spline will be computed.
derivativesThe desired derivatives of the interpolating spline at interpolation points.
derivativeIndicesAn array indicating which point each derivative belongs to. This must be the same size as derivatives.
degreeThe degree of the interpolating spline.
parametersThe parameters corresponding to the interpolation points.
Returns:
A spline interpolating points with derivatives at those points.
See also:
Les A. Piegl, Khairan Rajab, Volha Smarodzinana. 2008. Curve interpolation with directional constraints for engineering design. Engineering with Computers

The documentation for this struct was generated from the following file:
 All Classes Functions Variables Typedefs Enumerator