Function gaiaGeomCollBuffer

Source
pub unsafe extern "C" fn gaiaGeomCollBuffer(
    geom: gaiaGeomCollPtr,
    radius: f64,
    points: c_int,
) -> gaiaGeomCollPtr
Expand description

Spatial operator: Buffer

\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_r, gaiaFreeGeomColl

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

\remark \b GEOS support required.