![]() |
Trax3 3.1.0
trax track library
|
Data definig a cubic curve. More...
#include <C:/Trend/Development/Trax3/Code/trax/Curve.h>
Public Member Functions | |
| bool | operator!= (const CubicData &other) const noexcept |
| bool | operator== (const CubicData &other) const noexcept |
| spat::Position< Length > | CubicPositionAtStart () const noexcept |
| spat::Vector< Length > | CubicOvershootAtStart () const noexcept |
| spat::Position< Length > | CubicPositionAtEnd () const noexcept |
| spat::Vector< Length > | CubicOvershootAtEnd () const noexcept |
Construction | |
| CubicData (const spat::Position< Length > &a, const spat::Vector< Length > &b, const spat::Vector< Length > &c, const spat::Vector< Length > &d) noexcept | |
| CubicData (const spat::VectorBundle< Length > &start, const spat::VectorBundle< Length > &end) noexcept | |
Public Attributes | |
| spat::Position< Length > | a |
| spat::Vector< Length > | b |
| spat::Vector< Length > | c |
| spat::Vector< Length > | d |
Data definig a cubic curve.
This is used for persistence. Cubic::GetData() receives the data and there is a Create() method to create the curve from this data set without any calculations made that might distort the values during many read/write cycles.
| spat::Position<Length> trax::CubicData::a |
Data values in the cubic equation p(t) = a + b*t + c*t² + d*t³
| spat::Vector<Length> trax::CubicData::b |
Data values in the cubic equation p(t) = a + b*t + c*t² + d*t³
| spat::Vector<Length> trax::CubicData::c |
Data values in the cubic equation p(t) = a + b*t + c*t² + d*t³
| spat::Vector<Length> trax::CubicData::d |
Data values in the cubic equation p(t) = a + b*t + c*t² + d*t³