Template Function navtk::navutils::llh_to_ecef(const S&)
Defined in File navigation.hpp
Function Documentation
-
template<typename S = Vector3, IfTensorOfDim<S, 1>* = nullptr>
Vector3 navtk::navutils::llh_to_ecef(const S &p_wgs) Converts a position expressed in WGS-84 latitude, longitude, height above ellipsoid (LLH) coordinates (sometimes referred to as “Geodetic” coordinates) to Earth-Centered Earth-Fixed (ECEF) coordinates.
REFERENCE: WGS-84 Reference System (NIMA report TR 8350.2)
See also
Coordinate Frames for more information about ECEF and latitude, longitude, and height expressions of position.
- Parameters
p_wgs – Geodetic position defined relative to WGS-84 ellipsoid, expressed as a length three vector of latitude, longitude, and ellipsoidal altitude (radians, radians, meters)
- Returns
ECEF Position: [x y z] (meters).