Skip to content
On this page

geos.GEOSConstrainedDelaunayTriangulation ⇒ number

Computes the Constrained Delaunay Triangulation of a polygon geometry.

Kind: Exported member
Returns: number - A pointer to a GEOS geometry object representing the triangulation, or NULL on error.
See: https://libgeos.org/doxygen/geos__c_8h.html#a0f6b9f4c2e8a3b1f7c2a5d0e3c6a7d9f

ParamTypeDescription
gnumberA pointer to a GEOS geometry object representing the input polygon.

geos.GEOSConstrainedDelaunayTriangulation_r ⇒ number

Computes the Constrained Delaunay Triangulation of a polygon.

Kind: Exported member
Returns: number - A pointer to a GEOS geometry object representing the triangulation, or NULL on error.
See: https://libgeos.org/doxygen/geos__c_8h.html#a4a9f3c0bfbf1f9c6b1a7b0e7a8d4d5c6

ParamTypeDescription
handlenumberA pointer to a GEOS context handle.
gnumberA pointer to a GEOS geometry object representing the polygon.