Polygon Convexity: Another O(n) Test
Abstract
An n-gon is defined as a sequence =(V0,...,Vn-1) of n points on the plane. An n-gon is said to be convex if the boundary of the convex hull of the set V0,...,Vn-1 of the vertices of coincides with the union of the edges [V0,V1],...,[Vn-1,V0]; if at that no three vertices of are collinear then is called strictly convex. We prove that an n-gon with n3 is strictly convex if and only if a cyclic shift of the sequence (0,...,n-1)∈[0,2π)n of the angles between the x-axis and the vectors V1-V0,...,V0-Vn-1 is strictly monotone. A ``non-strict'' version of this result is also proved.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.