Antkeeper  0.0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Functions
physics::orbit::frame::enu Namespace Reference

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...
 

Detailed Description

East, North, Up (ENU) horizontal frame.

Function Documentation

◆ cartesian()

template<class T >
math::vec3<T> physics::orbit::frame::enu::cartesian ( const math::vec3< T > &  v)

Converts ENU coordinates from spherical to Cartesian.

Parameters
vENU spherical coordinates, in the ISO order of radial distance, elevation (radians), and azimuth (radians).
Returns
ENU Cartesian coordinates.

Definition at line 347 of file frame.hpp.

◆ spherical()

template<class T >
math::vec3<T> physics::orbit::frame::enu::spherical ( const math::vec3< T > &  v)

Converts ENU coordinates from Cartesian to spherical.

Parameters
vENU Cartesian coordinates.
Returns
ENU spherical coordinates, in the ISO order of radial distance, elevation (radians), and azimuth (radians).

Definition at line 367 of file frame.hpp.

◆ to_bcbf()

template<typename T >
math::se3<T> physics::orbit::frame::enu::to_bcbf ( distance,
latitude,
longitude 
)

Constructs an SE(3) transformation from an ENU frame to a BCBF frame.

Parameters
distanceRadial distance of the observer from the center of the body.
latitudeLatitude of the observer, in radians.
longitudeLongitude of the observer, in radians.
Returns
ENU to BCBF transformation.

Definition at line 388 of file frame.hpp.