10 #ifndef EIGEN_SPLINES_FWD_H 11 #define EIGEN_SPLINES_FWD_H 13 #include "../../../../Eigen/Core" 17 template <
typename Scalar,
int Dim,
int Degree = Dynamic>
class Spline;
19 template <
typename SplineType,
int DerivativeOrder = Dynamic >
struct SplineTraits {};
25 template <
typename _Scalar,
int _Dim,
int _Degree>
29 enum { Dimension = _Dim };
30 enum { Degree = _Degree };
33 enum { NumOfDerivativesAtCompileTime = OrderAtCompileTime };
65 template <
typename _Scalar,
int _Dim,
int _Degree,
int _DerivativeOrder >
69 enum { NumOfDerivativesAtCompileTime = _DerivativeOrder==
Dynamic ?
Dynamic : _DerivativeOrder+1 };
93 #endif // EIGEN_SPLINES_FWD_H A class representing multi-dimensional spline curves.
Array< Scalar, 1, Dynamic > ParameterVectorType
The data type used to store parameter vectors.
Array< _Scalar, _Dim, Dynamic, DerivativeMemoryLayout, _Dim, NumOfDerivativesAtCompileTime > DerivativeType
The data type used to store the spline's derivative values.
Namespace containing all symbols from the Eigen library.
Spline< float, 2 > Spline2f
2D float B-spline with dynamic degree.
Spline< float, 3 > Spline3f
3D float B-spline with dynamic degree.
Array< Scalar, Dimension, Dynamic > ControlPointVectorType
The data type representing the spline's control points.
Array< Scalar, Dynamic, Dynamic, RowMajor, NumOfDerivativesAtCompileTime, OrderAtCompileTime > BasisDerivativeType
The data type used to store the values of the basis function derivatives.
Array< Scalar, 1, Dynamic > KnotVectorType
The data type used to store knot vectors.
General-purpose arrays with easy API for coefficient-wise operations.
Array< Scalar, Dimension, Dynamic, DerivativeMemoryLayout, Dimension, NumOfDerivativesAtCompileTime > DerivativeType
The data type used to store the spline's derivative values.
Array< Scalar, 1, OrderAtCompileTime > BasisVectorType
The data type used to store non-zero basis functions.
Spline< double, 3 > Spline3d
3D double B-spline with dynamic degree.
Array< Scalar, Dimension, 1 > PointType
The point type the spline is representing.
Array< _Scalar, Dynamic, Dynamic, RowMajor, NumOfDerivativesAtCompileTime, OrderAtCompileTime > BasisDerivativeType
The data type used to store the values of the basis function derivatives.
Spline< double, 2 > Spline2d
2D double B-spline with dynamic degree.