FUNCTION REFERENCE
delaunayTriangulation.convexHull
Find the convex hull boundary of a Delaunay triangulation.
Find the convex hull boundary of a Delaunay triangulation.
Syntax
K = convexHull(DT)Syntax
[K, V] = convexHull(DT)Syntax
[K, V] = DT.convexHull()In 2-D returns a closed counterclockwise column vector K of vertex indices into DT.Points tracing the convex hull, and optionally the enclosed area V. In 3-D returns an M-by-3 matrix K of outward boundary triangles and optionally the enclosed volume V.
Example
DT = delaunayTriangulation([0 0; 1 0; 0 1]); [k, a] = DT.convexHull()Example
DT = delaunayTriangulation([0 0 0; 1 0 0; 0 1 0; 0 0 1]); [k, v] = DT.convexHull()These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.