Function convex_hull

Source
pub fn convex_hull(points: &[Point3]) -> GeomResult<TriMesh>
Expand description

Convex hull of a point set as a closed, outward-oriented TriMesh.

Interior points are absorbed: adding a point inside the hull cannot change it, which is the property the tests assert.

ยงErrors

Refuses non-finite coordinates, fewer than four points, and inputs whose points are all collinear or all coplanar. Each is a distinct variant.