FUNCTION REFERENCE
delaunayTriangulation
Create a two- or three-dimensional Delaunay triangulation object.
Create a two- or three-dimensional Delaunay triangulation object.
Syntax
DT = delaunayTriangulation(P)Syntax
DT = delaunayTriangulation(x, y)Syntax
DT = delaunayTriangulation(x, y, z)Points stores the unique sites in first-occurrence order (emitting a warning if duplicates were removed). ConnectivityList stores one triangle (2-D) or positively oriented tetrahedron (3-D) per row as indices into Points. Constraints is empty. Use DT(i,j) to index the connectivity list and size(DT) to get its dimensions. Only unconstrained 2-D and 3-D inputs are supported.
Example
DT = delaunayTriangulation([0 0; 1 0; 0 1]); DT.ConnectivityListExample
DT = delaunayTriangulation([0 0 0; 1 0 0; 0 1 0; 0 0 1]); size(DT)These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.