CodeCogs
HomeForumsCart
Login



Forgotten Password?

Or login with:

  • Facebookhttp://facebook.com/
  • Googlehttps://www.google.com/accounts/o8/id
  • Yahoohttps://me.yahoo.com
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')