I have forgotten
my Password

MathsGeometry

Spherical

Angular Distance

Returns the "distance" in radians (about the spheres centre) between two positions.
double angularDistance (const Position &start, const Position &end)
double distance (const Position &start, const Position &end, double radToDist=3437.7475)

Position

This class manages the coordinate of a point on the surface of any spherical object.

Lat Long

Converts latitude expressed in degrees, minutes and seconds into Degrees.
double latitude (int degrees, int minutes=0, float seconds=0, char compassDirection='N')
double longitude (int degrees, int minutes=0, float seconds=0, char compassDirection='N')