[][src]Function spatialite_sys::gaiaClonePolygonSpecial

pub unsafe extern "C" fn gaiaClonePolygonSpecial(
    polyg: gaiaPolygonPtr,
    mode: c_int
) -> gaiaPolygonPtr

Duplicates a Polygon object (special)

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

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

\sa gaiaClonePolygon, gaiaCloneGeomCollSpecial

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