Spline fitting methods.
More...
#include <SplineFitting.h>
|
template<typename PointArrayType > |
static SplineType | Interpolate (const PointArrayType &pts, DenseIndex degree) |
| Fits an interpolating Spline to the given data points. More...
|
|
template<typename PointArrayType > |
static SplineType | Interpolate (const PointArrayType &pts, DenseIndex degree, const KnotVectorType &knot_parameters) |
| Fits an interpolating Spline to the given data points. More...
|
|
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. More...
|
|
template<typename PointArrayType , typename IndexArray > |
static SplineType | InterpolateWithDerivatives (const PointArrayType &points, const PointArrayType &derivatives, const IndexArray &derivativeIndices, const unsigned int degree, const ParameterVectorType ¶meters) |
| Fits an interpolating spline to the given data points and derivatives. More...
|
|
template<typename SplineType>
struct Eigen::SplineFitting< SplineType >
Spline fitting methods.
Definition at line 213 of file SplineFitting.h.
◆ KnotVectorType
template<typename SplineType >
◆ ParameterVectorType
template<typename SplineType >
◆ Interpolate() [1/2]
template<typename SplineType >
template<typename PointArrayType >
Fits an interpolating Spline to the given data points.
- Parameters
-
pts | The points for which an interpolating spline will be computed. |
degree | The degree of the interpolating spline. |
- Returns
- A spline interpolating the initially provided points.
Definition at line 322 of file SplineFitting.h.
◆ Interpolate() [2/2]
template<typename SplineType >
template<typename PointArrayType >
Fits an interpolating Spline to the given data points.
- Parameters
-
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. |
- Returns
- A spline interpolating the initially provided points.
Definition at line 290 of file SplineFitting.h.
◆ InterpolateWithDerivatives() [1/2]
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
-
points | The points for which an interpolating spline will be computed. |
derivatives | The desired derivatives of the interpolating spline at interpolation points. |
derivativeIndices | An array indicating which point each derivative belongs to. This must be the same size as derivatives. |
degree | The 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
Definition at line 420 of file SplineFitting.h.
◆ InterpolateWithDerivatives() [2/2]
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
-
points | The points for which an interpolating spline will be computed. |
derivatives | The desired derivatives of the interpolating spline at interpolation points. |
derivativeIndices | An array indicating which point each derivative belongs to. This must be the same size as derivatives. |
degree | The degree of the interpolating spline. |
parameters | The 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
Definition at line 332 of file SplineFitting.h.
The documentation for this struct was generated from the following file: