|Download Help (Windows Only)|
Owning Class: geometry
Requires: MathScript RT Module
c = delaunay(a, b)
Generates the Delaunay triangulation of a set of specified points in a plane.
|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).|
|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.|
The following table lists the support characteristics of this function.
|Supported in the LabVIEW Run-Time Engine||Yes|
|Supported on RT targets||Yes|
|Suitable for bounded execution times on RT||Not characterized|
A = [1, 2, 3, 4, 5, 6, 7, 8];
B = [2, 4, 1, 6, 4, 5, 6, 2];
C = delaunay(A, B)