delaunay_from_points

compas.geometry.delaunay_from_points(points, boundary=None, holes=None, tiny=1e-12)[source]

Computes the delaunay triangulation for a list of points.

Parameters
Returns

list[[int, int, int]] – The faces of the triangulation. Each face is a triplet of indices referring to the list of point coordinates.

Notes

For more info, see 1.

References

1

Sloan, S. W., 1987 A fast algorithm for constructing Delaunay triangulations in the plane Advances in Engineering Software 9(1): 34-55, 1978.

Examples

>>>