|
SplineTraits< Spline >::BasisDerivativeType | basisFunctionDerivatives (Scalar u, DenseIndex order) const |
| Computes the non-zero spline basis function derivatives up to given order. More...
|
|
template<int DerivativeOrder> |
SplineTraits< Spline, DerivativeOrder >::BasisDerivativeType | basisFunctionDerivatives (Scalar u, DenseIndex order=DerivativeOrder) const |
| Computes the non-zero spline basis function derivatives up to given order. More...
|
|
SplineTraits< Spline >::BasisVectorType | basisFunctions (Scalar u) const |
| Computes the non-zero basis functions at the given site. More...
|
|
const ControlPointVectorType & | ctrls () const |
| Returns the knots of the underlying spline. More...
|
|
DenseIndex | degree () const |
| Returns the spline degree. More...
|
|
SplineTraits< Spline >::DerivativeType | derivatives (Scalar u, DenseIndex order) const |
| Evaluation of spline derivatives of up-to given order. More...
|
|
template<int DerivativeOrder> |
SplineTraits< Spline, DerivativeOrder >::DerivativeType | derivatives (Scalar u, DenseIndex order=DerivativeOrder) const |
| Evaluation of spline derivatives of up-to given order. More...
|
|
const KnotVectorType & | knots () const |
| Returns the knots of the underlying spline. More...
|
|
PointType | operator() (Scalar u) const |
| Returns the spline value at a given site . More...
|
|
DenseIndex | span (Scalar u) const |
| Returns the span within the knot vector in which u is falling. More...
|
|
| Spline () |
| Creates a (constant) zero spline. For Splines with dynamic degree, the resulting degree will be 0. More...
|
|
template<typename OtherVectorType , typename OtherArrayType > |
| Spline (const OtherVectorType &knots, const OtherArrayType &ctrls) |
| Creates a spline from a knot vector and control points. More...
|
|
template<int OtherDegree> |
| Spline (const Spline< Scalar, Dimension, OtherDegree > &spline) |
| Copy constructor for splines. More...
|
|
template<typename _Scalar, int _Dim, int _Degree>
class Eigen::Spline< _Scalar, _Dim, _Degree >
A class representing multi-dimensional spline curves.
The class represents B-splines with non-uniform knot vectors. Each control point of the B-spline is associated with a basis function
- Template Parameters
-
_Scalar | The underlying data type (typically float or double) |
_Dim | The curve dimension (e.g. 2 or 3) |
_Degree | Per default set to Dynamic; could be set to the actual desired degree for optimization purposes (would result in stack allocation of several temporary variables). |
Definition at line 35 of file Spline.h.
template<typename _Scalar, int _Dim, int _Degree>
template<typename OtherVectorType , typename OtherArrayType >
Eigen::Spline< _Scalar, _Dim, _Degree >::Spline |
( |
const OtherVectorType & |
knots, |
|
|
const OtherArrayType & |
ctrls |
|
) |
| |
|
inline |
Creates a spline from a knot vector and control points.
- Parameters
-
knots | The spline's knot vector. |
ctrls | The spline's control point vector. |
Definition at line 75 of file Spline.h.
template<typename _Scalar, int _Dim, int _Degree>
template<int DerivativeOrder>
Computes the non-zero spline basis function derivatives up to given order.
The function computes
with i ranging from 0 up to the specified order.
- Parameters
-
u | Parameter at which the non-zero basis function derivatives are computed. |
order | The order up to which the basis function derivatives are computes. Using the template version of this function is more efficieent since temporary objects are allocated on the stack whenever this is possible. |
template<typename _Scalar , int _Dim, int _Degree>
Computes the non-zero basis functions at the given site.
Splines have local support and a point from their image is defined by exactly control points where is the spline degree.
This function computes the non-zero basis function values for a given parameter value . It returns
- Parameters
-
u | Parameter at which the non-zero basis functions are computed. |
Definition at line 342 of file Spline.h.