[][src]Function spatialite_sys::gaiaSingleSidedBuffer_r

pub unsafe extern "C" fn gaiaSingleSidedBuffer_r(
    p_cache: *const c_void,
    geom: gaiaGeomCollPtr,
    radius: f64,
    points: c_int,
    left_right: c_int
) -> gaiaGeomCollPtr

Spatial operator: Single Sided 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. \param left_right if set to 1 the left-sided Buffer will be returned; otherwise the right-sided one.

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

\sa gaiaSingleSidedBuffer, gaiaFreeGeomColl

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

\remark \b GEOS-ADVANCED support required.