Closed michaelrfraser closed 4 years ago
The havershine formula is used to calculate distances between two points in LLA space, however it is a relatively heavy operation.
When the two points are already expressed in the WGS84 (xyz) space, we can use a simple vector distance instead, which is much faster.
The havershine formula is used to calculate distances between two points in LLA space, however it is a relatively heavy operation.
When the two points are already expressed in the WGS84 (xyz) space, we can use a simple vector distance instead, which is much faster.