WLJS LogoWLJS Notebook

ConvexHullMesh

ConvexHullMesh[{p1, p2, ...}] gives a BoundaryMeshRegion representing the convex hull from the points p1, p2, ....

ConvexHullMesh[mreg] gives the convex hull of the mesh region mreg.

Examples

Convex hull of random points:

pts = RandomReal[1, {20, 2}];
ConvexHullMesh[pts]

3D convex hull:

pts3D = RandomReal[1, {30, 3}];
ConvexHullMesh[pts3D]

Please visit the official Wolfram Language Reference for more details.

On this page