Description
N-Vector is a three-parameter representation that can be used to calculate the great-circle distance (assuming a spherical Earth).
This implementation makes use of fast implementation of acos I wrote, that approximates acos with a maclaurin series expansion.
For small distances it compares well with Math.acos, and is a faster way of calculating the great-circle distance than Haversine.
Attachments
Issue Links
- links to