Perifocal (PQW) frame.
More...
|
template<class T > |
math::vec3< T > | spherical (const math::vec3< T > &v) |
| Converts PQW coordinates from Cartesian to spherical. More...
|
|
template<class T > |
math::vec3< T > | spherical (T ec, T a, T ea, T b) |
| Constructs spherical PQW coordinates from Keplerian orbital elements. More...
|
|
template<class T > |
math::vec3< T > | spherical (T ec, T a, T ea) |
| Constructs spherical PQW coordinates from Keplerian orbital elements. More...
|
|
template<class T > |
math::vec3< T > | cartesian (const math::vec3< T > &v) |
| Converts PQW coordinates from spherical to Cartesian. More...
|
|
template<class T > |
math::vec3< T > | cartesian (T ec, T a, T ea, T b) |
| Constructs Cartesian PQW coordinates from Keplerian orbital elements. More...
|
|
template<class T > |
math::vec3< T > | cartesian (T ec, T a, T ea) |
| Constructs Cartesian PQW coordinates from Keplerian orbital elements. More...
|
|
template<typename T > |
math::se3< T > | to_bci (T om, T in, T w) |
| Constructs an SE(3) transformation from a PQW frame to a BCI frame. More...
|
|
◆ cartesian() [1/3]
Converts PQW coordinates from spherical to Cartesian.
- Parameters
-
PQW | spherical coordinates, in the ISO order of radial distance, inclination (radians), and true anomaly (radians). |
- Returns
- PQW Cartesian coordinates.
Definition at line 96 of file frame.hpp.
◆ cartesian() [2/3]
template<class T >
math::vec3<T> physics::orbit::frame::pqw::cartesian |
( |
T |
ec, |
|
|
T |
a, |
|
|
T |
ea |
|
) |
| |
Constructs Cartesian PQW coordinates from Keplerian orbital elements.
- Parameters
-
ec | Eccentricity (e). |
a | Semimajor axis (a). |
ea | Eccentric anomaly (E), in radians. |
- Returns
- PQW Cartesian coordinates.
Definition at line 132 of file frame.hpp.
◆ cartesian() [3/3]
template<class T >
math::vec3<T> physics::orbit::frame::pqw::cartesian |
( |
T |
ec, |
|
|
T |
a, |
|
|
T |
ea, |
|
|
T |
b |
|
) |
| |
Constructs Cartesian PQW coordinates from Keplerian orbital elements.
- Parameters
-
ec | Eccentricity (e). |
a | Semimajor axis (a). |
ea | Eccentric anomaly (E), in radians. |
b | Semiminor axis (b). |
- Returns
- PQW Cartesian coordinates.
Definition at line 118 of file frame.hpp.
◆ spherical() [1/3]
Converts PQW coordinates from Cartesian to spherical.
- Parameters
-
v | PQW Cartesian coordinates. |
- Returns
- PQW spherical coordinates, in the ISO order of radial distance, inclination (radians), and true anomaly (radians).
Definition at line 42 of file frame.hpp.
◆ spherical() [2/3]
template<class T >
math::vec3<T> physics::orbit::frame::pqw::spherical |
( |
T |
ec, |
|
|
T |
a, |
|
|
T |
ea |
|
) |
| |
Constructs spherical PQW coordinates from Keplerian orbital elements.
- Parameters
-
ec | Eccentricity (e). |
a | Semimajor axis (a). |
ea | Eccentric anomaly (E), in radians. |
- Returns
- PQW spherical coordinates, in the ISO order of radial distance, inclination (radians), and true anomaly (radians).
Definition at line 83 of file frame.hpp.
◆ spherical() [3/3]
template<class T >
math::vec3<T> physics::orbit::frame::pqw::spherical |
( |
T |
ec, |
|
|
T |
a, |
|
|
T |
ea, |
|
|
T |
b |
|
) |
| |
Constructs spherical PQW coordinates from Keplerian orbital elements.
- Parameters
-
ec | Eccentricity (e). |
a | Semimajor axis (a). |
ea | Eccentric anomaly (E), in radians. |
b | Semiminor axis (b). |
- Returns
- PQW spherical coordinates, in the ISO order of radial distance, inclination (radians), and true anomaly (radians).
Definition at line 64 of file frame.hpp.
◆ to_bci()
template<typename T >
math::se3<T> physics::orbit::frame::pqw::to_bci |
( |
T |
om, |
|
|
T |
in, |
|
|
T |
w |
|
) |
| |
Constructs an SE(3) transformation from a PQW frame to a BCI frame.
- Parameters
-
om | Right ascension of the ascending node (OMEGA), in radians. |
in | Orbital inclination (i), in radians. |
w | Argument of periapsis (omega), in radians. |
- Returns
- PQW to BCI transformation.
Definition at line 146 of file frame.hpp.