Expand description
Coordinate transforms — WGS84 ↔ ECEF ↔ ENU, geodetic distance (OCS §4).
Reference: OCS Specification v2.2.0 §4.
Structs§
- Ecef
- ECEF Cartesian coordinates: X, Y, Z (OCS §4.1).
- Enu
- ENU local tangent plane: East, North, Up (OCS §4.1).
- Four
Vector - A relativistic 4-vector in Minkowski spacetime: (c*t, x, y, z).
- Geodetic
- Geodetic coordinates: latitude, longitude, altitude (OCS §4.1).
- Lorentz
Boost - Relativistic Lorentz Boost SO+(1,3) parameterised by dimensionless velocity vector beta = v / c.
Functions§
- ecef_
to_ enu - Convert ECEF to ENU relative to a reference geodetic point (OCS §4.1).
- ecef_
to_ geodetic - Convert ECEF to geodetic coordinates using Bowring’s closed-form method (OCS §4.1).
- ecef_
to_ value - Convert Ecef to a Value::Record.
- enu_
to_ ecef - Convert ENU to ECEF relative to a reference geodetic point (OCS §4.1).
- geodetic_
distance - Great-circle distance between two geodetic points using the Haversine formula. Returns distance in meters.
- geodetic_
to_ ecef - Convert geodetic coordinates to ECEF (OCS §4.1).
- geodetic_
to_ value - Convert Geodetic to a Value::Record.