Function navtk::navutils::ecef_to_llh

Function Documentation

Vector3 navtk::navutils::ecef_to_llh(const Vector3 &Pe)

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

Pe – 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).