Structure container for the cartesian orbital elements.
More...
#include <OrbitalElements.hxx>
Structure container for the cartesian orbital elements, which are:
- the position vector \( \mathbf{r} \) (UA),
- the velocity vector \( \mathbf{v} \) (UA/day).
- Note
- For more information on orbital elements, refer to "Survey of Orbital Elements", by G. R. Hintz, Journal of Guidance, Control, and Dynamics, Vol. 31, No. 3, May-June 2008.
◆ Cartesian() [1/5]
Astro::OrbitalElements::Cartesian::Cartesian |
( |
| ) |
|
|
inline |
Structure constructor for Cartesian orbital elements.
◆ Cartesian() [2/5]
Astro::OrbitalElements::Cartesian::Cartesian |
( |
Vector3 const & | t_r, |
|
|
Vector3 const & | t_v ) |
|
inline |
Structure constructor for Cartesian orbital elements.
- Parameters
-
[in] | t_r | Position vector \( \mathbf{r} \). |
[in] | t_v | Velocity vector \( \mathbf{v} \). |
◆ Cartesian() [3/5]
Structure constructor for Cartesian orbital elements.
- Parameters
-
[in] | r_x | Position vector \( x \)-axis component. |
[in] | r_y | Position vector \( y \)-axis component. |
[in] | r_z | Position vector \( z \)-axis component. |
[in] | v_x | Velocity vector \( x \)-axis component. |
[in] | v_y | Velocity vector \( y \)-axis component. |
[in] | v_z | Velocity vector \( z \)-axis component. |
◆ Cartesian() [4/5]
Astro::OrbitalElements::Cartesian::Cartesian |
( |
Cartesian const & | | ) |
|
|
default |
Enable the default Cartesian orbital elements copy constructor.
◆ Cartesian() [5/5]
Astro::OrbitalElements::Cartesian::Cartesian |
( |
Cartesian && | | ) |
|
|
default |
Enable the default Cartesian orbital elements move constructor.
◆ h()
Vector3 Astro::OrbitalElements::Cartesian::h |
( |
| ) |
const |
|
inline |
Compute the orbital momentum vector \( \mathbf{h} = \mathbf{r} \times \mathbf{v} \) (UA^2/day).
- Returns
- The orbital momentum vector \( \mathbf{h} \).
◆ info() [1/2]
std::string Astro::OrbitalElements::Cartesian::info |
( |
| ) |
const |
|
inline |
Print the cartesian orbital elements on a string.
- Returns
- The cartesian orbital elements string.
◆ info() [2/2]
void Astro::OrbitalElements::Cartesian::info |
( |
std::ostream & | os | ) |
|
|
inline |
Print the cartesian orbital elements on a stream.
- Parameters
-
◆ operator=() [1/2]
Enable the default Cartesian orbital elements move assignment operator.
◆ operator=() [2/2]
Enable the default Cartesian orbital elements assignment operator.
◆ reset()
void Astro::OrbitalElements::Cartesian::reset |
( |
| ) |
|
|
inline |
Reset the cartesian orbital elements to NaN.
◆ sanity_check()
bool Astro::OrbitalElements::Cartesian::sanity_check |
( |
| ) |
const |
|
inline |
Check if the cartesian orbital elements are valid, i.e., finite.
Position vector \( \mathbf{r} \) (UA).
Velocity vector \( \mathbf{v} \) (UA/day).
The documentation for this struct was generated from the following file: