[−][src]Function spatialite_sys::gaiaPolygonize_r
pub unsafe extern "C" fn gaiaPolygonize_r(
p_cache: *const c_void,
geom: gaiaGeomCollPtr,
force_multi: c_int
) -> gaiaGeomCollPtr
Attempts to rearrange a generic Geometry object into a Polygon or MultiPolygon
\param p_cache a memory pointer returned by spatialite_alloc_connection() \param geom the input Geometry object \param force_multi if not set to 0, then an eventual Polygon will be returned casted to MultiPolygon
\return the pointer to newly created Geometry object representing a Polygon or MultiPolygon Geometry: NULL on failure.
\sa gaiaPolygonize, gaiaFreeGeomColl
\note you are responsible to destroy (before or after) any allocated Geometry, this including any Geometry returned by gaiaPolygonize_r()\n reentrant and thread-safe.
\remark \b GEOS support required.