Antkeeper
0.0.1
|
Body-centered, body-fixed (BCBF) frame. More...
Functions | |
template<class T > | |
math::vec3< T > | cartesian (const math::vec3< T > &v) |
Converts BCBF coordinates from spherical to Cartesian. More... | |
template<class T > | |
math::vec3< T > | spherical (const math::vec3< T > &v) |
Converts BCBF coordinates from Cartesian to spherical. More... | |
template<typename T > | |
math::se3< T > | to_bci (T ra, T dec, T w) |
Constructs an SE(3) transformation from a BCBF frame to a BCI frame. More... | |
template<typename T > | |
math::se3< T > | to_enu (T distance, T latitude, T longitude) |
Constructs an SE(3) transformation from a BCBF frame to an ENU frame. More... | |
Body-centered, body-fixed (BCBF) frame.
math::vec3<T> physics::orbit::frame::bcbf::cartesian | ( | const math::vec3< T > & | v | ) |
math::vec3<T> physics::orbit::frame::bcbf::spherical | ( | const math::vec3< T > & | v | ) |
math::se3<T> physics::orbit::frame::bcbf::to_bci | ( | T | ra, |
T | dec, | ||
T | w | ||
) |
Constructs an SE(3) transformation from a BCBF frame to a BCI frame.
ra | Right ascension of the north pole, in radians. |
dec | Declination of the north pole, in radians. |
w | Location of the prime meridian, as a rotation about the north pole, in radians. |
math::se3<T> physics::orbit::frame::bcbf::to_enu | ( | T | distance, |
T | latitude, | ||
T | longitude | ||
) |
Constructs an SE(3) transformation from a BCBF frame to an ENU 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. |