Member of the geometry class.
delaunay(a, b)
c = delaunay(a, b)
Generates the Delaunay triangulation of a set of specified points in a plane.
| Name | Description |
| a | Specifies a vector of x-coordinates that represent points in the plane. |
| b | Specifies a vector of y-coordinates that represent points in the plane. length(b) must equal length(a). |
| Name | Description |
| c | Returns an n-by-3 matrix of integers, where n equals length(a). Each row of c represents a triangle of the Delaunay triangulation. |
A = [1, 2, 3, 4, 5, 6, 7, 8];
B = [2, 4, 1, 6, 4, 5, 6, 2];
C = delaunay(A, B)