Overview
Jarvis March starts from an extreme point and repeatedly chooses the next point that keeps all others on one side.
Finds a convex hull by wrapping around the outside point by point.
Compact metadata for implementation and discovery.
Jarvis March starts from an extreme point and repeatedly chooses the next point that keeps all others on one side.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n)
Average
O(nh)
Worst
O(n^2)
Space
O(1)
choose q such that orientation(current, q, r) is counterclockwise for all rSelects the next outer boundary point by wrapping around the set.
Show a line wrapping around the outside of a point set.
Jarvis March operates in O(nh) time and O(1) space within the Convex Hull family. Key governing relation: choose q such that orientation(current, q, r) is counterclockwise for all r. Often compared with Convex Hull and Graham Scan.
What each reference supports for this entry.
Computational geometry textbook reference for the predicates or constructions used by Jarvis March.
Good next jumps from the relationship graph, ranked for useful discovery.
Jarvis March computes the convex hull by wrapping around boundary points.
Both compute convex hulls using different geometric strategies.