Tools for working with points on (ellipsoidal models of) the earth’s surface using a vector-based
approach using ‘n-vectors’ (rather than the more common spherical trigonometry).
Based on Kenneth Gade’s ‘Non-singular Horizontal Position Representation’.
Note that these formulations take x => 0°N,0°E, y => 0°N,90°E, z => 90°N (in order that n-vector
= cartesian vector at 0°N,0°E); Gade uses x => 90°N, y => 0°N,90°E, z => 0°N,0°E.
- Source: