Maximal Parallelograms in Convex Polygons

Given a convex polygon $P$ of $n$ vertices in the plane, we consider the problem of finding the maximum area parallelogram (MAP) inside $P$. Previously, the best algorithm for this problem runs in time $O(n^2)$, and this was achieved by utilizing some nontrivial properties of the MAP. In this paper, we exhibit an algorithm for finding the MAP in time $O(n\log^2n)$, greatly improving the previous result. The main technical ingredient of our algorithm is a new geometric structure of a convex polygon $P$, which we call $Nest(P)$. Roughly speaking, $Nest(P)$ is an arrangement of certain line segments, each of which is parallel to an edge of $P$. It enjoys several nice properties, e.g., it is a planar division over the exterior of $P$, and one natural subdivision of it has a monotone property with the boundary of $P$. Indeed, $Nest(P)$ captures the essential nature of the MAPs; we reduce the optimization problem of finding the MAPs in $P$ to a location query problem comprising $O(n)$ basic location queries about $Nest(P)$. Each of these queries can be solved in $O(\log^2n)$ time without building $Nest(P)$ explicitly. Putting these together we obtain an $O(n\log^2n)$-time algorithm. We believe that the techniques developed in this paper will be useful for solving other related problems, and the structure $Nest(P)$ is of independent interest in convex geometry.

[1]  Alok Aggarwal,et al.  Geometric applications of a matrix-searching algorithm , 1987, SCG '86.

[2]  Chee-Keng Yap,et al.  A polynomial solution for the potato-peeling problem , 1986, Discret. Comput. Geom..

[3]  C. H. Dowker On minimum circumscribed polygons , 1944 .

[4]  Safe domain and elementary geometry , 2004, physics/0410034.

[5]  Hanno Lefmann,et al.  An Algorithm for Heilbronn's Problem , 1997, COCOON.

[6]  Alok Aggarwal,et al.  An Optimal Algorithm for Finding Minimal Enclosing Triangles , 1986, J. Algorithms.

[7]  Sivan Toledo,et al.  Extremal polygon containment problems , 1991, SCG '91.

[8]  Asish Mukhopadhyay,et al.  On the Minimum Perimeter Triangle Enclosing a Convex Polygon , 2002, JCDCG.

[9]  Don Zagier,et al.  A Property of Parallelograms Inscribed in Ellipses , 2007, Am. Math. Mon..

[10]  Marek Lassak,et al.  Approximation of Convex Bodies by Centrally Symmetric Bodies , 1998 .

[11]  Alok Aggarwal,et al.  Finding a minimum-weightk-link path in graphs with the concave Monge property and applications , 1994, Discret. Comput. Geom..

[12]  Bernard Chazelle,et al.  On linear-time deterministic algorithms for optimization problems in fixed dimension , 1996, SODA '93.

[13]  Otfried Cheong,et al.  Finding largest rectangles in convex polygons , 2016, Comput. Geom..

[14]  Kai Jin,et al.  Finding all Maximal Area Parallelograms in a Convex Polygon , 2017, ArXiv.

[15]  K. F. Roth On a Problem of Heilbronn , 1951 .

[16]  Leonidas J. Guibas,et al.  Finding extremal polygons , 1982, STOC '82.

[17]  Hanno Lefmann,et al.  A Deterministic Polynomial Time Algorithm for Heilbronn's Problem in Dimension Three , 2002, LATIN.

[18]  Dan Roth,et al.  Finding the Largest Area Axis-parallel Rectangle in a Polygon , 1997, Comput. Geom..

[19]  N. Anghel A Maximal Parallelogram Characterization of Ovals Having Circles as Orthoptic Curves , 2010 .

[20]  M. Henk Löwner – John Ellipsoids , 2012 .

[21]  Gangsong Leng,et al.  Largest parallelotopes contained in simplices , 2000, Discret. Math..

[22]  David P. Dobkin,et al.  On a general method for maximizing and minimizing among certain geometric problems , 1979, 20th Annual Symposium on Foundations of Computer Science (sfcs 1979).

[23]  Kai Jin Maximal Area Triangles in a Convex Polygon , 2017, ArXiv.

[24]  David G. Kirkpatrick,et al.  Tentative Prune-and-Search for Computing Fixed-Points with Applications to Geometric Computation , 1995, Fundam. Informaticae.

[25]  Joseph S. B. Mitchell,et al.  Finding large sticks and potatoes in polygons , 2006, SODA '06.

[26]  Hans Raj Tiwary,et al.  Largest inscribed rectangles in convex polygons , 2012, J. Discrete Algorithms.

[27]  David Hsu,et al.  Computing the largest inscribed isothetic rectangle , 1995, CCCG.

[28]  A. Litvak,et al.  John's Decomposition in the General Case and Applications , 2004 .

[29]  Hanno Lefmann Distributions of points in the unit-square and large k-gons , 2005, SODA '05.

[30]  David M. Mount,et al.  A parallel algorithm for enclosed and enclosing triangles , 1992, Int. J. Comput. Geom. Appl..

[31]  Hanno Lefmann Distributions of Points in d Dimensions and Large k-Point Simplices , 2008, Discret. Comput. Geom..

[32]  Micha Sharir,et al.  Largest Placement of One Convex Polygon Inside Another , 1998, Discret. Comput. Geom..

[33]  A. Miernowski Parallelograms inscribed in a curve having a circle as π/2-isoptic , 2008 .

[34]  Gill Barequet The on-line Heilbronn's triangle problem , 2004, Discret. Math..

[35]  Kenneth L. Clarkson,et al.  Las Vegas algorithms for linear and integer programming when the dimension is small , 1995, JACM.

[36]  Osman Güler,et al.  Symmetry of convex sets and its applications to the extremal ellipsoids of convex bodies , 2012, Optim. Methods Softw..

[37]  Parallelograms Inscribed in Convex Curves , 1960 .

[38]  Micha Sharir,et al.  A Combinatorial Bound for Linear Programming and Related Problems , 1992, STACS.

[39]  K. Ball An elementary introduction to modern convex geometry, in flavors of geometry , 1997 .

[40]  Hanno Lefmann,et al.  A Deterministic Polynomial-Time Algorithm for Heilbronn's Problem in Three Dimensions , 2002, SIAM J. Comput..

[41]  Jan Kyncl,et al.  Peeling potatoes near-optimally in near-linear time , 2017, SIAM J. Comput..

[42]  F. John Extremum Problems with Inequalities as Subsidiary Conditions , 2014 .

[43]  SnoeyinkJack,et al.  Tentative Prune-And-Search For Computing Fixed-Points With Applications To Geometric Computation , 1995 .

[44]  Jürgen Teich,et al.  Minimal enclosing parallelogram with application , 1995, SCG '95.

[45]  Hanno Lefmann On Heilbronn’s Problem in Higher Dimension , 2000, SODA '00.

[46]  G. Toussaint Solving geometric problems with the rotating calipers , 1983 .

[47]  K. Ball An Elementary Introduction to Modern Convex Geometry , 1997 .

[48]  Marek Lassak,et al.  Parallelotopes of Maximum Volume in a Simplex , 1999, Discret. Comput. Geom..

[49]  Maarten Löffler,et al.  Maximum-Area Triangle in a Convex Polygon, Revisited , 2017, Inf. Process. Lett..

[50]  Ernst Sas,et al.  Über eine Extremumeigenschaft der Ellipsen , 1939 .

[51]  Kai Jin,et al.  Finding the Maximum Area Parallelogram in a Convex Polygon , 2011, CCCG.

[52]  Raimund Seidel,et al.  Small-dimensional linear programming and convex hulls made easy , 1991, Discret. Comput. Geom..