Convex hull: Difference between revisions

m
Line 1,410:
=={{header|Maple}}==
 
Two functionsFunction are available: in the geometry package, orComputationalGeometry inand the ComputationalGeometrysimplex packagepackages.
 
<lang maple>pts:=[[16,3],[12,17],[0,6],[-4,-6],[16,6],[16,-7],[16,-3],[17,-4],[5,19],[19,-8],
Line 1,421:
with(ComputationalGeometry):
pts[ConvexHull(pts)];
# [[12, 17], [5, 19], [-3, 15], [-9, -3], [-3, -9], [19, -8], [17, 5]]</lang>
 
simplex[convexhull](pts);
# [[-9, -3], [-3, -9], [19, -8], [17, 5], [12, 17], [5, 19], [-3, 15]]</lang>
 
=={{header|Mathematica}}==
175

edits