This class can be used to calculate the distance between Earth two points.
It takes the latitude and longitude coordinates of two points of the Earth and calculates the distance between them using the Haversine formula.
The distances may be returned in Kilometers, meters, miles, yards, feet or inches. |