FUNCTION REFERENCE

delaunay

Delaunay triangulation of two- or three-dimensional points.

Delaunay triangulation of two- or three-dimensional points.

Syntax

T = delaunay(x, y)

Syntax

T = delaunay(x, y, z)

Syntax

T = delaunay(P)

In 2-D each row of T holds the indices of one counter-clockwise triangle; in 3-D each row holds one positively oriented tetrahedron. Duplicate points are used once. Co-circular and co-spherical points are split deterministically.

Example

delaunay([0 1 0], [0 0 1])   % [1 2 3]

Example

size(delaunay([0 0 0; 1 0 0; 0 1 0; 0 0 1]))   % [1 4]

Differences from MATLAB: Row order and starting vertex can differ from MATLAB; the set of simplices and their orientation match MATLAB.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.