Bounding box

Meshes.boundingboxFunction
boundingbox(geometry)

Axis-aligned bounding box of the geometry.

boundingbox(domain)

Axis-aligned bounding box of the domain.

pset = PointSet(rand(Point2, 100))
bbox = boundingbox(pset)

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