Antkeeper
0.0.1
|
East, North, Up (ENU) horizontal frame. More...
Functions | |
template<class T > | |
math::vec3< T > | cartesian (const math::vec3< T > &v) |
Converts ENU coordinates from spherical to Cartesian. More... | |
template<class T > | |
math::vec3< T > | spherical (const math::vec3< T > &v) |
Converts ENU coordinates from Cartesian to spherical. More... | |
template<typename T > | |
math::se3< T > | to_bcbf (T distance, T latitude, T longitude) |
Constructs an SE(3) transformation from an ENU frame to a BCBF frame. More... | |
East, North, Up (ENU) horizontal frame.
math::vec3<T> physics::orbit::frame::enu::cartesian | ( | const math::vec3< T > & | v | ) |
math::vec3<T> physics::orbit::frame::enu::spherical | ( | const math::vec3< T > & | v | ) |
math::se3<T> physics::orbit::frame::enu::to_bcbf | ( | T | distance, |
T | latitude, | ||
T | longitude | ||
) |
Constructs an SE(3) transformation from an ENU frame to a BCBF frame.
distance | Radial distance of the observer from the center of the body. |
latitude | Latitude of the observer, in radians. |
longitude | Longitude of the observer, in radians. |