Function gaiaGeodesicTotalLength

Source
pub unsafe extern "C" fn gaiaGeodesicTotalLength(
    a: f64,
    b: f64,
    rf: f64,
    dims: c_int,
    coords: *mut f64,
    vert: c_int,
) -> f64
Expand description

Calculates the Geodesic Total Length for a Linestring / Ring

\param a first geodesic parameter. \param b second geodesic parameter. \param rf third geodesic parameter. \param dims dimensions: one of GAIA_XY, GAIA_XY_Z, GAIA_XY_M or GAIA_XY_ZM \param coords pointed to COORD mem-array \param vert number of Points (aka Vertices) within the COORD mem-array

\return the calculated Geodesic Total Length.

\sa gaiaEllipseParams, gaiaGreatCircleDistance, gaiaGeodesicDistance, gaiaGreatCircleTotalLength

\note the returned length is expressed in Kilometers. \n the Geodesic method is much more accurate but slowest to be calculated. \n \b dims, \b coords and \b vert are usually expected to correspond to \b DimensionModel, \b Coords and \b Points members from a gaiaLinestringStruct or gaiaRingStruct