[][src]Function spatialite_sys::gaiaDimension

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

Determines OGC dimensions for a Geometry object

\param geom pointer to Geometry object

\return OGC dimensions

\note OGC dimensions are defined as follows: \li if the Geometry doesn't contain any elementary item: \b -1 \li if the Geometry only contains Point items: \b 0 \li if the Geometry only contains Point / Linestring items: \b 1 \li if the Geometry contains some Polygon item: \b 2