[−][src]Function spatialite_sys::gaiaExtractPolygonsFromGeomColl
pub unsafe extern "C" fn gaiaExtractPolygonsFromGeomColl(
geom: gaiaGeomCollPtr
) -> gaiaGeomCollPtr
Extracts any Polygon from a Geometry object
\param geom pointer to Geometry object
\return the pointer to newly created Geometry: NULL on failure.
\sa gaiaExtractPointsFromGeomColl, gaiaExtractLinestringsFromGeomColl, gaiaCloneGeomColl
\note you are responsible to destroy (before or after) any allocated Geometry, this including any Geometry created by gaiaExtractPolygonsFromGeomColl() \n the newly created Geometry will contain any Polygon contained into the input Geometry. \n if the input Geometry doesn't contains any Polygon, then NULL will be returned.