[][src]Function spatialite_sys::gaiaMergeGeometries_r

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

Merges two Geometry objects into a single one

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

\return the pointer to newly created Geometry: NULL on failure.

\sa gaiaMergeGeometries, gaiaCloneGeomColl

\note you are responsible to destroy (before or after) any allocated Geometry, this including any Geometry created by gaiaMergeGeometries() \n the newly created Geometry will contain any Point, Linestring and/or Polygon contained in both input Geometries.\n reentrant and thread-safe.