[][src]Function spatialite_sys::gaiaGeometryIntersection_r

pub unsafe extern "C" fn gaiaGeometryIntersection_r(
    p_cache: *const c_void,
    geom1: gaiaGeomCollPtr,
    geom2: gaiaGeomCollPtr
) -> gaiaGeomCollPtr

Spatial operator: Intersection

\param p_cache a memory pointer returned by spatialite_alloc_connection() \param geom1 the first Geometry object \param geom2 the second Geometry object

\return the pointer to newly created Geometry object representing the geometry Intersection of both input Geometries: NULL on failure.

\sa gaiaGeometryIntersection, gaiaFreeGeomColl, gaiaGeometryUnion, gaiaGeometryDifference, gaiaGeometrySymDifference, gaiaBoundary

\note you are responsible to destroy (before or after) any allocated Geometry, this including any Geometry returned by gaiaGeometryIntersection_r()\n reentrant and thread-safe.

\remark \b GEOS support required.