[][src]Function spatialite_sys::gaiaLineSubstring

pub unsafe extern "C" fn gaiaLineSubstring(
    ln_geom: gaiaGeomCollPtr,
    start_fraction: f64,
    end_fraction: f64
) -> gaiaGeomCollPtr

Spatial operator: Line Substring

\param ln_geom the input Geometry object [expected to be of lineal type] \param start_fraction substring start, expressed as total length fraction [in the range 0.0 / 1.0] \param end_fraction substring end, expressed as total length fraction

\return the pointer to newly created Geometry object representing a Linestring laying on the input Geometry. \n this Linestring will begin (and stop) at given total length fractions. NULL on failure.

\sa gaiaLineSubstring_r, gaiaFreeGeomColl

\note you are responsible to destroy (before or after) any allocated Geometry, this including any Geometry returned by gaiaLineSubstring()\n not reentrant and thread unsafe.

\remark \b GEOS-ADVANCED support required.