[][src]Function spatialite_sys::gaiaIsClosed

pub unsafe extern "C" fn gaiaIsClosed(line: gaiaLinestringPtr) -> c_int

Checks if a Linestring object represents an OGC Closed Geometry

This function only works on a single linestring - if you pass in a multi-line linestring geometry, it will return 0 (false). See gaiaIsClosedGeom for an alternative.

\param line pointer to Linestring object.

\return 0 if false; any other value if true

\sa gaiaIsSimple, gaiaIsRing, gaiaIsValid, gaiaIsClosedGeom

\remark \b GEOS support required.