[][src]Function spatialite_sys::gaiaLineSubstring_r

pub unsafe extern "C" fn gaiaLineSubstring_r(
    p_cache: *const c_void,
    ln_geom: gaiaGeomCollPtr,
    start_fraction: f64,
    end_fraction: f64
) -> gaiaGeomCollPtr

Spatial operator: Line Substring

\param p_cache a memory pointer returned by spatialite_alloc_connection() \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, gaiaFreeGeomColl

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

\remark \b GEOS-ADVANCED support required.