[][src]Function spatialite_sys::gaiaMakeValid

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

Utility function: MakeValid

\param geom the input Geometry object.

\return the pointer to newly created Geometry object: NULL on failure. \n this function will attempt to create a valid representation of a given invalid geometry without loosing any of the input vertices. \n Already-valid geometries are returned without further intervention. \n NULL will be returned if the passed argument is invalid.

\sa gaiaFreeGeomColl, gaiaMakeValidDiscarded

\note you are responsible to destroy (before or after) any allocated Geometry, this including any Geometry returned by gaiaMakeValid()

\remark \b LWGEOM support required.