Overview
Convex hull algorithms wrap a point set with an outer polygon that has no inward dents.
Finds the smallest convex boundary that contains a set of points.
Compact metadata for implementation and discovery.
Convex hull algorithms wrap a point set with an outer polygon that has no inward dents.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n log n)
Average
O(n log n)
Worst
O(n log n)
Space
O(n)
orientation(a, b, c) = sign(cross(b - a, c - a))Determines whether three points make a left turn, right turn, or straight line.
Show a boundary tightening around the outside of a point cloud.
Convex hull output conventions vary, especially for collinear boundary points.
What each reference supports for this entry.
Computational geometry reference for convex hulls, point location, triangulations, and geometric predicates.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Geometry · Foundation
Convex hull algorithms use orientation tests to keep or remove candidate turns.
Compare with thisGeometry · Extended
Rotating calipers often operates on a convex hull.
Compare with thisGeometry · Core
The minimum rectangle can be found from the convex hull rather than all points.
Compare with thisGeometry · Extended
Minkowski operations often use convex polygon or polytope structure.
Compare with thisGraham Scan is one algorithm for computing a convex hull.
Jarvis March is one algorithm for computing a convex hull.
Quickhull is one algorithm for computing a convex hull.
Rotating calipers often operates on a convex hull.