Hulls

Meshes.hullFunction
hull(object, method)

Compute the hull of object with given method.

Meshes.HullMethodType
HullMethod

A method for computing hulls of point sets or collections of geometries.

Graham's scan

pset = PointSet(rand(Point2, 100))
chul = hull(pset, GrahamScan())

fig = Mke.Figure(resolution = (800, 400))
viz(fig[1,1], chul)
viz!(fig[1,1], pset, color = :black)
fig