compute convex hull of a set of points in n dimensions
a list of n element lists or an m by n Matrix representing m n-dimensional points
The ConvexHull command computes the convex hull of the set of input points.
If points is a Matrix, then each row of points is treated as a point. If it is a list of lists, then each sublist is a point.
All entries of points must evaluate to floating-point values when evalf is applied. This happens as a preprocessing step.
If the option output=volume is specified, the volume of the convex hull is returned. Note that the volume of a 2-D convex hull is its area.
For 2-D inputs, the command returns a list of integer references into the input points list or Matrix defining the convex hull in counterclockwise order.
For 2-D inputs, the command discards duplicate or collinear points.
For 3-D or higher dimensional inputs, the command returns a list of n element lists; each inner list specifies the vertices of a simplicial facet as integer references.
The maximum allowed dimension is 11.
There is also a ConvexHulls command in the PolyhedralSets package. The Convex Hulls Example Worksheet discusses both commands and the usefulness of each.
Note that xy contains duplicate and collinear points
Convex hull of the unit cube.
Convex hull of 50 random points in 3-D.
m≔−94−38762791−4418−12418636563−238686−6320−51−26−615130−48381077−38229⋮⋮⋮50 × 3 Matrix
The ComputationalGeometry[ConvexHull] command was introduced in Maple 2018.
For more information on Maple 2018 changes, see Updates in Maple 2018.
Download Help Document
What kind of issue would you like to report? (Optional)