delaunay_from_points_numpy

compas.geometry.delaunay_from_points_numpy(points)[source]

Computes the delaunay triangulation for a list of points using Numpy.

Parameters
  • points (sequence of tuple) – XYZ coordinates of the original points.

  • boundary (sequence of tuples) – list of ordered points describing the outer boundary (optional)

  • holes (list of sequences of tuples) – list of polygons (ordered points describing internal holes (optional)

Returns

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

Examples

>>>