[−][src]Function spatialite_sys::gaiaSnap
pub unsafe extern "C" fn gaiaSnap(
geom1: gaiaGeomCollPtr,
geom2: gaiaGeomCollPtr,
tolerance: f64
) -> gaiaGeomCollPtr
Spatial operator: Snap
\param geom1 pointer to the first Geometry object. \param geom2 pointer to the second Geometry object. \param tolerance approximation factor
\return the pointer to newly created Geometry object; NULL on failure. \n the returned Geometry represents the first input Geometry (nicely \e snapped to the second input Geometry, whenever is possible).
\sa gaiaSnap_r, gaiaFreeGeomColl
\note you are responsible to destroy (before or after) any allocated Geometry, this including any Geometry returned by gaiaSnap()\n not reentrant and thread unsafe.
\remark \b GEOS-ADVANCED support required.