10 #ifndef EIGEN_SPLINES_FWD_H 11 #define EIGEN_SPLINES_FWD_H 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.
Definition: Spline.h:35
Storage order is column major (see TopicStorageOrders).
Definition: Constants.h:320
Array< Scalar, 1, Dynamic > ParameterVectorType
The data type used to store parameter vectors.
Definition: SplineFwd.h:53
Array< _Scalar, _Dim, Dynamic, DerivativeMemoryLayout, _Dim, NumOfDerivativesAtCompileTime > DerivativeType
The data type used to store the spline's derivative values.
Definition: SplineFwd.h:77
Namespace containing all symbols from the Eigen library.
Definition: bench_norm.cpp:85
Spline< float, 2 > Spline2f
2D float B-spline with dynamic degree.
Definition: SplineFwd.h:81
Spline< float, 3 > Spline3f
3D float B-spline with dynamic degree.
Definition: SplineFwd.h:84
Array< Scalar, Dimension, Dynamic > ControlPointVectorType
The data type representing the spline's control points.
Definition: SplineFwd.h:56
Array< Scalar, Dynamic, Dynamic, RowMajor, NumOfDerivativesAtCompileTime, OrderAtCompileTime > BasisDerivativeType
The data type used to store the values of the basis function derivatives.
Definition: SplineFwd.h:41
Definition: SplineFwd.h:19
Array< Scalar, 1, Dynamic > KnotVectorType
The data type used to store knot vectors.
Definition: SplineFwd.h:50
General-purpose arrays with easy API for coefficient-wise operations.
Definition: Array.h:45
Storage order is row major (see TopicStorageOrders).
Definition: Constants.h:322
Array< Scalar, Dimension, Dynamic, DerivativeMemoryLayout, Dimension, NumOfDerivativesAtCompileTime > DerivativeType
The data type used to store the spline's derivative values.
Definition: SplineFwd.h:44
Array< Scalar, 1, OrderAtCompileTime > BasisVectorType
The data type used to store non-zero basis functions.
Definition: SplineFwd.h:38
const int Dynamic
This value means that a positive quantity (e.g., a size) is not known at compile-time, and that instead the value is stored in some runtime variable.
Definition: Constants.h:21
_Scalar Scalar
Definition: SplineFwd.h:28
Spline< double, 3 > Spline3d
3D double B-spline with dynamic degree.
Definition: SplineFwd.h:90
Array< Scalar, Dimension, 1 > PointType
The point type the spline is representing.
Definition: SplineFwd.h:47
Array< _Scalar, Dynamic, Dynamic, RowMajor, NumOfDerivativesAtCompileTime, OrderAtCompileTime > BasisDerivativeType
The data type used to store the values of the basis function derivatives.
Definition: SplineFwd.h:74
Spline< double, 2 > Spline2d
2D double B-spline with dynamic degree.
Definition: SplineFwd.h:87