The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



SphereGreatCircleDist


Unit:SDL_math2
Class:none
Declaration:function SphereGreatCircleDist (radius, Lat1, Long1, Lat2, Long2: double): double;

The procedure SphereGreatCircleDist calculates the distance along the great circle of a sphere of radius radius between the locations Lat1/Long1 and Lat2/Long2. The latitudes and longitudes have to be specified in degrees, the result is based on the same units as the parameter radius.


Last Update: 2008-Okt-29