[][src]Function spatialite_sys::gaiaGeomCollSimplify_r

pub unsafe extern "C" fn gaiaGeomCollSimplify_r(
    p_cache: *const c_void,
    geom: gaiaGeomCollPtr,
    tolerance: f64
) -> gaiaGeomCollPtr

Spatial operator: Simplify

\param p_cache a memory pointer returned by spatialite_alloc_connection() \param geom the input Geometry object \param tolerance approximation threshold

\return the pointer to newly created Geometry object representing the simplified Geometry [applying the Douglas-Peucker algorithm]: NULL on failure.

\sa gaiaGeomCollSimplify, gaiaFreeGeomColl, gaiaGeomCollSimplifyPreserveTopology

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

\remark \b GEOS support required.