Skip to main content

Module hull

Module hull 

Source
Available on crate feature layout only.
Expand description

Convex hull via Andrew’s monotone chain (replaces XGI’s scipy ConvexHull).

Functions§

convex_hull
Compute the convex hull of a set of 2D points. Returns the hull vertices in counter-clockwise order, with collinear points removed. For 0, 1, or 2 unique points the “hull” is those points themselves (a point or a segment); callers render degenerate hulls specially.