Function: delaunay()
ts
function delaunay(x, y): Triangulation;Defined in: geo/delaunay.ts:82
Triangulate a point set. Collinear or fewer-than-three inputs give an empty triangulation rather than throwing — there is simply no triangle to draw.
Parameters
| Parameter | Type |
|---|---|
x | ArrayLike<number> |
y | ArrayLike<number> |