[][src]Function spatialite_sys::gaiaLocateBetweenMeasures

pub unsafe extern "C" fn gaiaLocateBetweenMeasures(
    geom: gaiaGeomCollPtr,
    m_start: f64,
    m_end: f64
) -> gaiaGeomCollPtr

Return a GeometryCollection containing elements matching the specified range of measures

\param geom pointer to Geometry object \param m_start range of measures: start value \param m_end range of measures: end value

\return the pointer to newly created Geometry: NULL on failure.

\note you are responsible to destroy (before or after) any allocated Geometry, this including any Geometry created by gaiaLocateBetweenMeasures() \n the newly created Geometry will contain Points and/or Linestrings. \n if the input Geometry has no M dimension then NULL will be returned. \n if the input Geometry doesn't contains any point/vertex corresponding to the required range of measures then NULL will be returned. \n if the input Geometry contains any Polygon (or is a GeometryCollection) then NULL will be returned.