Represents a hermite spline of degree 5.
More...
#include <frc/spline/QuinticHermiteSpline.h>
Represents a hermite spline of degree 5.
◆ QuinticHermiteSpline()
frc::QuinticHermiteSpline::QuinticHermiteSpline |
( |
wpi::array< double, 3 > | xInitialControlVector, |
|
|
wpi::array< double, 3 > | xFinalControlVector, |
|
|
wpi::array< double, 3 > | yInitialControlVector, |
|
|
wpi::array< double, 3 > | yFinalControlVector ) |
|
inline |
Constructs a quintic hermite spline with the specified control vectors.
Each control vector contains into about the location of the point, its first derivative, and its second derivative.
- Parameters
-
xInitialControlVector | The control vector for the initial point in the x dimension. |
xFinalControlVector | The control vector for the final point in the x dimension. |
yInitialControlVector | The control vector for the initial point in the y dimension. |
yFinalControlVector | The control vector for the final point in the y dimension. |
◆ Coefficients()
Matrixd< 6, 6 > frc::QuinticHermiteSpline::Coefficients |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns the coefficients matrix.
- Returns
- The coefficients matrix.
Implements frc::Spline< 5 >.
◆ GetFinalControlVector()
const ControlVector & frc::QuinticHermiteSpline::GetFinalControlVector |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns the final control vector that created this spline.
- Returns
- The final control vector that created this spline.
Implements frc::Spline< 5 >.
◆ GetInitialControlVector()
const ControlVector & frc::QuinticHermiteSpline::GetInitialControlVector |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns the initial control vector that created this spline.
- Returns
- The initial control vector that created this spline.
Implements frc::Spline< 5 >.
The documentation for this class was generated from the following file: