[][src]Function spatialite_sys::gaiaToGeosSelective_r

pub unsafe extern "C" fn gaiaToGeosSelective_r(
    p_cache: *const c_void,
    gaia: gaiaGeomCollPtr,
    mode: c_int
) -> *mut c_void

Converts a Geometry object into a GEOS Geometry

\param p_cache a memory pointer returned by spatialite_alloc_connection() \param gaia pointer to Geometry object \param mode one of GAIA2GEOS_ALL, GAIA2GEOS_ONLY_POINTS, GAIA2GEOS_ONLY_LINESTRINGS or GAIA2GEOS_ONLY_POLYGONS

\return handle to GEOS Geometry

\sa gaiaToGeosSelective, gaiaFromGeos_XY, gaiaFromGeos_XYZ, gaiaFromGeos_XYM, gaiaFromGeos_XYZM

\note if the mode argument is not GAIA2GEOS_ALL only elementary geometries of the selected type will be passed to GEOS, ignoring any other.\n reentrant and thread-safe.

\remark \b GEOS support required.