Flipturning Polygons

A flipturn transforms a nonconvex simple polygon into another simple polygon by rotating a concavity 180° around the midpoint of its bounding convex hull edge. Joss and Shannon proved in 1973 that a sequence of flipturns eventually transforms any simple polygon into a convex polygon. This paper describes several new results about such flipturn sequences. We show that any orthogonal polygon is convexified after at most n-5 arbitrary flipturns, or at most $\lfloor 5(n-4)/6 \rfloor$ well-chosen flipturns, improving the previously best upper bound of (n-1)!/2 . We also show that any simple polygon can be convexified by at most n2-4n+1 flipturns, generalizing earlier results of Ahn et al. These bounds depend critically on how degenerate cases are handled; we carefully explore several possibilities. We prove that computing the longest flipturn sequence for a simple polygon is NP-hard. Finally, we show that although flipturn sequences for the same polygon can have significantly different lengths, the shape and position of the final convex polygon is the same for all sequences and can be computed in O(n log n) time.

[1]  A. Sokal,et al.  The pivot algorithm: A highly efficient Monte Carlo method for the self-avoiding walk , 1988 .

[2]  Godfried T. Toussaint The Erdös-Nagy theorem and its ramifications , 1999, CCCG.

[3]  G. Toussaint Computational Polygonal Entanglement Theory , 1999 .

[4]  Frank M. McMillan,et al.  The Chain Straighteners , 1979 .

[5]  Robert E. Tarjan,et al.  Self-adjusting binary search trees , 1985, JACM.

[6]  E. Demaine,et al.  Folding and unfolding , 2002 .

[7]  N. Madras,et al.  THE SELF-AVOIDING WALK , 2006 .

[8]  Alon Orlitsky,et al.  Self-avoiding random loops , 1988, IEEE Trans. Inf. Theory.

[9]  S. Whittington,et al.  The pivot algorithm and polygons: results on the FCC lattice , 1990 .

[10]  Alberto Caprara,et al.  Sorting Permutations by Reversals and Eulerian Cycle Decompositions , 1999, SIAM J. Discret. Math..

[11]  Prosenjit Bose,et al.  Flipping your Lid , 2000, CCCG.

[12]  G. Toussaint The Erd} Os-nagy Theorem and Its Ramiications , 1999 .

[13]  Joseph O'Rourke,et al.  Folding and Unfolding in Computational Geometry , 1998, JCDCG.

[14]  Paul Erdös,et al.  Problems for Solution: 3758-3763 , 1935 .

[15]  Vineet Bafna,et al.  Genome Rearrangements and Sorting by Reversals , 1996, SIAM J. Comput..

[16]  Nancy M. Amato,et al.  Linear-time triangulation of a simple polygon made easier via randomization , 2000, SCG '00.

[17]  Branko Grünbaum,et al.  Convexification of polygons by flips and by flipturns , 2001, Discret. Math..

[18]  Jan van Leeuwen,et al.  Maintenance of Configurations in the Plane , 1981, J. Comput. Syst. Sci..

[19]  Bernard Chazelle Triangulating a simple polygon in linear time , 1991, Discret. Comput. Geom..