[][src]Function spatialite_sys::gaiaCloneGeomCollSpecial

pub unsafe extern "C" fn gaiaCloneGeomCollSpecial(
    geom: gaiaGeomCollPtr,
    mode: c_int
) -> gaiaGeomCollPtr

Duplicates a Geometry object (special)

\param geom pointer to Geometry object [origin]. \param mode one of GAIA_SAME_ORDER, GAIA_REVERSE_ORDER or GAIA_LHR_ORDER.

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

\sa gaiaCloneLinestringSpecial, gaiaCloneRingSpecial, gaiaClonePolygonSpecial, gaiaCloneGeomColl

\note if GAIA_REVERSE_ORDER is specified, then any Linestring and/or Ring into the newly created object will be in reverse order. If GAIA_LHR_ORDER is specified instead, any Polygong will have the Exterior Ring in clockwise orientation, and any Interior Ring int counter-clockwise orientation. In any other case this function will simply default to gaiaCloneGeomColl.