![]() |
Radium Engine
1.7.0
|
Handling spline curves of arbitrary dimensions. More...
#include <Core/Geometry/Spline.hpp>
Collaboration diagram for Ra::Core::Geometry::Spline< D, K >:Public Types | |
| enum | Type { UNIFORM , OPEN_UNIFORM } |
| using | Vector = typename Eigen::Matrix<Scalar, D, 1> |
Public Member Functions | |
| Spline (Type type=OPEN_UNIFORM) | |
| void | setCtrlPoints (const Core::VectorArray< Vector > &points) |
| Set the position of the spline control points. | |
| const Core::VectorArray< Vector > & | getCtrlPoints () const |
| Get the control points of the spline. | |
| void | setType (Type type) |
| The the nodal vector type. | |
| Vector | f (Scalar u) const |
| Vector | df (Scalar u) const |
| Evaluate speed of the spline. | |
Handling spline curves of arbitrary dimensions.
| D | : dimension of the curve. |
| K | :order of the curve (min 2) |
Definition at line 23 of file Spline.hpp.
| using Ra::Core::Geometry::Spline< D, K >::Vector = typename Eigen::Matrix<Scalar, D, 1> |
Definition at line 31 of file Spline.hpp.
| enum Ra::Core::Geometry::Spline::Type |
| Enumerator | |
|---|---|
| OPEN_UNIFORM | Connected to the first and last control points. |
Definition at line 26 of file Spline.hpp.
|
inlineexplicit |
Type of the nodal vector
| type | : nodal vector type (uniform, open_uniform) This will define the behavior of the spline with its control points as well as its speed according to its parameter. |
Definition at line 105 of file Spline.hpp.
Here is the call graph for this function:
|
inline |
Evaluate speed of the spline.
Definition at line 159 of file Spline.hpp.
|
inline |
Evaluate position of the spline
| u | : curve parameter ranging from [0; 1] |
Definition at line 151 of file Spline.hpp.
|
inline |
Get the control points of the spline.
Definition at line 134 of file Spline.hpp.
|
inline |
Set the position of the spline control points.
Definition at line 117 of file Spline.hpp.
|
inline |
The the nodal vector type.
Definition at line 142 of file Spline.hpp.