Function gaiaGeomCollBuffer_r

Source
pub unsafe extern "C" fn gaiaGeomCollBuffer_r(
    p_cache: *const c_void,
    geom: gaiaGeomCollPtr,
    radius: f64,
    points: c_int,
) -> gaiaGeomCollPtr
Expand description

Spatial operator: Buffer

\param p_cache a memory pointer returned by spatialite_alloc_connection() \param geom the input Geometry object \param radius the buffer’s radius \param points number of points (aka vertices) to be used in order to approximate a circular arc.

\return the pointer to newly created Geometry object representing the Buffer of input Geometry: NULL on failure.

\sa gaiaGeomCollBuffer, gaiaFreeGeomColl

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

\remark \b GEOS support required.