Overview
Rotating calipers walks around a convex polygon while maintaining pairs of parallel support lines, testing antipodal vertex pairs that can define the polygon diameter.
Finds the farthest pair of points on a convex polygon by scanning antipodal pairs.
Compact metadata for implementation and discovery.
Rotating calipers walks around a convex polygon while maintaining pairs of parallel support lines, testing antipodal vertex pairs that can define the polygon diameter.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n)
Average
O(n log n)
Worst
O(n^2)
Space
O(n)
Show rotating parallel support lines over antipodal pairs on a small polygon diameter example.
Rotating calipers turns the diameter search on a convex polygon into a linear scan after hull construction.
What each reference supports for this entry.
Computational geometry textbook support for Rotating Calipers Diameter's geometric model, data structures, and robustness concerns.
Open sourceAlgorithm catalog support for Rotating Calipers Diameter's problem context, known alternatives, and practical selection tradeoffs.
Open sourceReference for rotating-calipers methods for polygon diameter, width, antipodal pairs, and related convex-polygon queries.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Geometry · Extended
Both use rotating calipers ideas for related polygon diameter problems.
Compare with thisBoth use rotating calipers ideas for related polygon diameter problems.
Both use rotating calipers ideas for related polygon diameter problems.
Both use rotating calipers ideas for related polygon diameter problems.