Implementation of the Haversine formula for calculating the great circle distance between two points on a sphere.
If no radius is provided, the average Earth’s radius is used with a value of 6371km.
Migrated from folder: geographic/haversine_distance