geos.GEOSDelaunayTriangulation ⇒ GEOSGeometry ⏏
Return a Delaunay triangulation of the vertices of the given geometry.
Kind: global property of geos
Returns: GEOSGeometry - A newly allocated geometry. NULL on exception. Caller is responsible for freeing with GEOSGeom_destroy().
| Param | Type | Description |
|---|---|---|
| g | GEOSGeometry | the input geometry whose vertices will be used as "sites" |
| tolerance | number | optional snapping tolerance to use for improved robustness |
| onlyEdges | number | if non-zero will return a MultiLineString, otherwise it will return a GeometryCollection containing triangular Polygons. |
geos.GEOSDelaunayTriangulation_r ⇒ GEOSGeometry ⏏
Return a Delaunay triangulation of the vertices of the given geometry.
Kind: global property of geos
Returns: GEOSGeometry - A newly allocated geometry. NULL on exception. Caller is responsible for freeing with GEOSGeom_destroy().
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| g | GEOSGeometry | the input geometry whose vertices will be used as "sites" |
| tolerance | number | optional snapping tolerance to use for improved robustness |
| onlyEdges | number | if non-zero will return a MultiLineString, otherwise it will return a GeometryCollection containing triangular Polygons. |