Main Content
delaunay
Delaunay triangulation
Description
DT = delaunay(
creates a
2-D or 3-D Delaunay triangulation from the points in a matrix P
)P
. The
output DT
is a three-column (for two dimensions) or four-column (for
three dimensions) matrix where each row contains the row indices of the input points that
make up a triangle or tetrahedron in the triangulation.
Examples
Input Arguments
Tips
Use the
triplot
,trisurf
,trimesh
, ortetramesh
functions to plot the output ofdelaunay
.For more functionality with Delaunay triangulations, consider creating a
delaunayTriangulation
object and using object functions to compute geometric quantities and query properties of the triangulation.
Extended Capabilities
Version History
Introduced before R2006a