[][src]Function spatialite_sys::gaiaMeasureLength

pub unsafe extern "C" fn gaiaMeasureLength(
    dims: c_int,
    coords: *mut f64,
    vert: c_int
) -> f64

Measures the geometric length for a Linestring or Ring

\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 geometric length

\sa gaiaGeomCollLength

\note \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

\remark internal method: doesn't require any GEOS support.