Template Function navtk::navutils::ecef_to_llh(const S&)

Function Documentation

template<typename S = Vector3, IfTensorOfDim<S, 1>* = nullptr>
Vector3 navtk::navutils::ecef_to_llh(const S &p_e)

Converts a position expressed in Earth-Centered Earth-Fixed (ECEF) coordinates to WGS-84 latitude, longitude, height above ellipsoid (LLH) coordinates (sometimes referred to as “Geodetic” coordinates).

REFERENCE: WGS-84 Reference System (NIMA report TR 8350.2)

See also

llh_to_ecef()

Parameters

p_e – ECEF Position: [x y z] (meters)

Returns

Geodetic position defined relative to WGS-84 ellipsoid: length three vector consisting of latitude, longitude, and ellipsoidal altitude (radians, radians, meters).