[][src]Function spatialite_sys::gaiaGeomCollSimplifyPreserveTopology

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

Spatial operator: Simplify [preserving topology]

\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 gaiaGeomCollSimplifyPreserveTopology_r, gaiaFreeGeomColl, gaiaGeomCollSimplify

\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.