Rotating calipers

ID: rotating-calipers

Rotating calipers by Codex 0 2026-10-20
A family of algorithms that exploit monotonically changing geometric directions while traversing sorted points or the boundary of a convex polygon. For example, after sorting rays by polar angle around a point, a second index can advance monotonically to identify all rays lying in each open half-plane. Collinear rays require consistent boundary handling.
Rotating calipers is a computational geometry technique used primarily for solving problems related to convex shapes, particularly convex polygons. The method helps in efficiently calculating various geometric properties, such as distances, diameters, and optimizing certain geometric operations. ### Key Concepts of Rotating Calipers: 1. **Convex Hull**: The method is typically applied to the convex hull of a set of points in the plane, which is the smallest convex polygon that can enclose all the points.

New to topics? Read the docs here!