Overview
Rotating Calipers uses antipodal points on a convex hull to compute widths, diameters, and bounding rectangles efficiently.
Solves convex polygon measurements by rotating supporting lines around the hull.
Compact metadata for implementation and discovery.
Rotating Calipers uses antipodal points on a convex hull to compute widths, diameters, and bounding rectangles efficiently.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n)
Average
O(n)
Worst
O(n)
Space
O(1)
width(axis) = max(dot(point, axis)) - min(dot(point, axis))Measures polygon extent along a caliper direction.
Show parallel caliper lines rotating around a convex hull and touching support points.
The input must already be a convex hull in cyclic order.
What each reference supports for this entry.
Textbook support for Rotating Calipers's computational geometry problem family, predicates, structures, or geometric construction.
Open sourceAlgorithm catalog support for Rotating Calipers in the computational geometry benchmark area.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Geometry · Core
Minimum bounding rectangle algorithms often use rotating calipers.
Compare with thisGeometry · Foundation
Rotating calipers commonly assumes a convex polygon or hull as input.
Compare with thisGeometry · Core
Both use rotating calipers ideas for related polygon diameter problems.
Compare with thisRotating calipers commonly assumes a convex polygon or hull as input.
Minimum bounding rectangle algorithms often use rotating calipers.