Struct astrea::astro::Frame¶
template <CelestialBodyId origin, FrameAxis axis>
ClassList > astrea > astro > Frame
Base class for all state/frames.
#include <Frame.hpp>
Public Static Functions¶
| Type | Name |
|---|---|
| constexpr FrameAxis | get_axis () Get the origin of the frame. |
| constexpr CelestialBodyId | get_origin () Get the origin of the frame. |
Protected Static Attributes¶
| Type | Name |
|---|---|
| constexpr FrameAxis | _axis = axisThe axis type of the inertial frame. |
| constexpr CelestialBodyId | _origin = originThe central body associated with the inertial frame. |
Protected Functions¶
| Type | Name |
|---|---|
| virtual | ~Frame () = default Default destructor for Frame . |
Public Static Functions Documentation¶
function get_axis¶
Get the origin of the frame.
Returns:
The origin of the frame.
function get_origin¶
Get the origin of the frame.
Returns:
The origin of the frame.
Protected Static Attributes Documentation¶
variable _axis¶
The axis type of the inertial frame.
variable _origin¶
The central body associated with the inertial frame.
Protected Functions Documentation¶
function ~Frame¶
Default destructor for Frame .
The documentation for this class was generated from the following file astrea/astro/astro/frames/Frame.hpp