[][src]Function spatialite_sys::gaiaVoronojDiagram_r

pub unsafe extern "C" fn gaiaVoronojDiagram_r(
    p_cache: *const c_void,
    geom: gaiaGeomCollPtr,
    extra_frame_size: f64,
    tolerance: f64,
    only_edges: c_int
) -> gaiaGeomCollPtr

Voronoj Diagram

\param p_cache a memory pointer returned by spatialite_alloc_connection() \param geom pointer to input Geometry object. \param extra_frame_size percent factor expanding the BBOX of input Geometry \param tolerance optional snapping tolerance. \param only_edges if non-zero will return a MULTILINESTRING, otherwise it will return a MULTIPOLYGON.

\return the pointer to newly created Geometry object: NULL on failure. \n NULL will be returned if any argument is invalid.

\sa gaiaVoronojDiagram, gaiaFreeGeomColl, gaiaDelaunayTriangulation

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

\remark \b GEOS-TRUNK support required.