odc.geo.geom.triangulate

odc.geo.geom.triangulate(pts, **kw)[source]

Creates the Delaunay triangulation and returns a geometry collection.

The source may be any geometry type. All vertices of the geometry will be used as the points of the triangulation.

Parameters:

tolerance

From the GEOS documentation: tolerance is the snapping tolerance used to improve the robustness of the triangulation computation. A tolerance of 0.0 specifies that no snapping will take place.

param edges:

If edges is False, a geometry collection of Polygons (triangles) will be returned (default). Otherwise LineString edges are returned.

Return type:

Geometry