Antkeeper
0.0.1
|
Describes the trajectory of an orbit with Chebyshev polynomials. More...
#include <trajectory.hpp>
Public Member Functions | |
math::vec3< T > | position (T t) const |
Calculates the Cartesian position of a trajectory at a given time. More... | |
Public Attributes | |
T | t0 |
Start time of the trajectory. More... | |
T | t1 |
End time of the trajectory. More... | |
T | dt |
Time step duration. More... | |
std::size_t | n |
Chebyshev polynomial degree. More... | |
std::vector< T > | a |
Chebyshev polynomial coefficients. More... | |
Describes the trajectory of an orbit with Chebyshev polynomials.
t | Real type. |
Definition at line 36 of file trajectory.hpp.
math::vec3< T > physics::orbit::trajectory< T >::position | ( | T | t | ) | const |
Calculates the Cartesian position of a trajectory at a given time.
t | Time, on [t0, t1) . |
t
. Definition at line 63 of file trajectory.hpp.
std::vector<T> physics::orbit::trajectory< T >::a |
Chebyshev polynomial coefficients.
Definition at line 51 of file trajectory.hpp.
T physics::orbit::trajectory< T >::dt |
Time step duration.
Definition at line 45 of file trajectory.hpp.
std::size_t physics::orbit::trajectory< T >::n |
Chebyshev polynomial degree.
Definition at line 48 of file trajectory.hpp.
T physics::orbit::trajectory< T >::t0 |
Start time of the trajectory.
Definition at line 39 of file trajectory.hpp.
T physics::orbit::trajectory< T >::t1 |
End time of the trajectory.
Definition at line 42 of file trajectory.hpp.