[][src]Function spatialite_sys::gaiaCloneGeomCollPolygons

pub unsafe extern "C" fn gaiaCloneGeomCollPolygons(
    geom: gaiaGeomCollPtr
) -> gaiaGeomCollPtr

Duplicates a Geometry object [Polygons only]

\param geom pointer to Geometry object [origin].

\return the pointer to newly created Geometry object: NULL on failure.

\sa gaiaCloneLinestring, gaiaCloneRing, gaiaClonePolygon, gaiaCloneGeomColl, gaiaCloneGeomCollPoints, gaiaCloneGeomCollLinestrings

\note the newly created object is an exact copy of the original one; except in that only Polygons objects will be copied. \n Caveat: an empty Geometry could be returned.