[][src]Function spatialite_sys::gaiaMergeGeometries

pub unsafe extern "C" fn gaiaMergeGeometries(
    geom1: gaiaGeomCollPtr,
    geom2: gaiaGeomCollPtr
) -> gaiaGeomCollPtr

Merges two Geometry objects into a single one

\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_r, 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 not reentrant and thread unsafe.