[][src]Function spatialite_sys::gaiaGeomCollSimplify

pub unsafe extern "C" fn gaiaGeomCollSimplify(
    geom: gaiaGeomCollPtr,
    tolerance: f64
) -> gaiaGeomCollPtr

Spatial operator: Simplify

\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_r, gaiaFreeGeomColl, gaiaGeomCollSimplifyPreserveTopology

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

\remark \b GEOS support required.