Skip to content

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().

ParamTypeDescription
gGEOSGeometrythe input geometry whose vertices will be used as "sites"
tolerancenumberoptional snapping tolerance to use for improved robustness
onlyEdgesnumberif 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().

ParamTypeDescription
handleGEOSContextHandle_t-
gGEOSGeometrythe input geometry whose vertices will be used as "sites"
tolerancenumberoptional snapping tolerance to use for improved robustness
onlyEdgesnumberif non-zero will return a MultiLineString, otherwise it will return a GeometryCollection containing triangular Polygons.