[−][src]Function spatialite_sys::gaiaGeomCollSimplifyPreserveTopology_r
pub unsafe extern "C" fn gaiaGeomCollSimplifyPreserveTopology_r(
p_cache: *const c_void,
geom: gaiaGeomCollPtr,
tolerance: f64
) -> gaiaGeomCollPtr
Spatial operator: Simplify [preserving topology]
\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 gaiaGeomCollSimplifyPreserveTopology, gaiaFreeGeomColl, gaiaGeomCollSimplify
\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.