[][src]Function spatialite_sys::gaiaCloneRingSpecial

pub unsafe extern "C" fn gaiaCloneRingSpecial(
    ring: gaiaRingPtr,
    mode: c_int
) -> gaiaRingPtr

Duplicates a Ring object (special)

\param ring pointer to Ring object [origin]. \param mode one of GAIA_SAME_ORDER or GAIA_REVERSE_ORDER.

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

\sa gaiaCloneRing, gaiaClonePolygonSpecial

\note if GAIA_REVERSE_ORDER is specified, then any vertex into the newly created object will be in reverse order [first vertex will be last one, and last vertex will be the first one]. In any other case this function will simply default to gaiaCloneRing.