[][src]Function spatialite_sys::gaiaGreatCircleDistance

pub unsafe extern "C" fn gaiaGreatCircleDistance(
    a: f64,
    b: f64,
    lat1: f64,
    lon1: f64,
    lat2: f64,
    lon2: f64
) -> f64

Calculates the Great Circle Distance between between two Points

\param a first geodesic parameter. \param b second geodesic parameter. \param lat1 Latitude of first Point. \param lon1 Longitude of first Point. \param lat2 Latitude of second Point. \param lon2 Longitude of second Point.

\return the calculated Great Circle Distance.

\sa gaiaEllipseParams, gaiaGeodesicDistance, gaiaGreatCircleTotalLength, gaiaGeodesicTotalLength

\note the returned distance is expressed in Kilometers. \n the Great Circle method is less accurate but fastest to be calculated.