Next Article in Journal
Overexpression of Bcl2 and Bcl2L1 Can Suppress Betanodavirus-Induced Type III Cell Death and Autophagy Induction in GF-1 Cells
Previous Article in Journal
Some Subordination Results for Atangana-Baleanu Fractional Integral Operator Involving Bessel Functions
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

On the Minimum-Area Parallelogram Annulus Problem

Division of AI Computer Science and Engineering, Kyonggi University, 16227 Suwon, Korea
Symmetry 2022, 14(2), 359; https://doi.org/10.3390/sym14020359
Submission received: 13 December 2021 / Revised: 18 January 2022 / Accepted: 1 February 2022 / Published: 11 February 2022
(This article belongs to the Section Mathematics)

Abstract

:
The minimum-area parallelogram annulus problem is studied, in which one wants to compute a parallelogram annulus of minimum area that includes n input points in the plane. Extending an usual, doughnut-shaped circular annulus, a parallelogram annulus is defined to be a region between two edge-parallel parallelograms. As a parallelogram has two distinct orientations for its sides, so does a parallelogram annulus as well. In this paper, several variants of the problem are considered: (1) when both side orientations are given and fixed, (2) when one of them is fixed and the other can be freely chosen, (3) when the interior angles of the resulting parallelogram annulus is given and fixed, and (4) when both side orientations can be chosen arbitrarily. The first and efficient algorithms for each of these cases are presented, whose running times are (1) O ( n ) , (2) O ( n 2 log n ) , (3) O ( n 2 log n ) , and (4) O ( n 4 + ϵ ) , respectively. Further, bicriteria variants of the problem are considered, in which both width and area of the resulting parallelogram annulus are simultaneously minimized. In order to obtain these new algorithms, geometric observations, newly obtained in this paper and known in previous papers, and the symmetric nature of parallelograms and parallelogram annuli are exploited.

1. Introduction

The geometric location problem is one of the central topics in computational geometry. In problems of this type, one is often asked to find an optimal location of particular geometric shapes in metric spaces in terms of a specified objective function. According to different shapes, objective functions, and their underlying spaces, there are many algorithmic results known in the literature. Typical and classical examples include the problem of finding a smallest circle enclosing a set P of input points in the plane [1] and the problem of finding a maximum-area rectangle within a prescribed bound that avoids all points in P [2,3].
It was relatively recent that the minimum annulus problem and its variants started to attract researchers. An annulus is a shape of a doughnut, or the closed region between two concentric circles, more precisely. The minimum annulus problem asks to find a minimum annulus that encloses a given set P of points in the plane. Early results on the annulus problem [4,5,6] presented O ( n 2 ) -time algorithms that compute a circular annulus of minimum width. The currently best algorithm for the same problem takes O ( n 3 2 + ϵ ) time [7,8] where ϵ > 0 denotes an arbitrarily small positive constant. Agarwal et al. [9] and Chan [10] also presented linear-time approximation schemes for the circular annulus problem.
The minimum annulus problem has a natural application to the shape matching problem. If input points in P are regarded to be sampled from the boundary of a circle, then a circular annulus of minimum extent that includes P would best describe the original circle. For a variety of applications, including the curve matching problem, the minimum annulus problem has been intensively studied for the last years, with many extensions and variations. Most of the recent study has focused on rectangular or square annuli, which extend the doughnut-shaped circular annulus to rectilinear shapes. More precisely, a rectangular or square annulus is defined as the region between a rectangle or a square and its inward offset. See Figure 1 for an illustration of annuli of different shapes. Two different extent measures, width and area, have been mostly considered in the minimum annulus problem, so we want to minimize the width or the area of the resulting annulus of a particular shape.
The minimum-width axis-parallel rectangular annulus problem was first considered by Abellanas et al. [11], who presented an O ( n ) -time algorithm. For the axis-parallel square annulus, an O ( n log n ) -time algorithm is known by Gluchshenko et al. [12], who also proved a lower bound of Ω ( n log n ) . It becomes more difficult when considering rectangular or square annuli that minimize width over all orientations. For rectangular annuli in arbitrary orientation, an O ( n 2 log n ) -time algorithm that finds a minimum-width rectangular annulus was presented by Mukherjee et al. [13]. For the square case, the first O ( n 3 log n ) -time algorithm that computes a minimum-width square annulus over all orientations was presented by the author [14]. This algorithm was soon improved to O ( n 3 ) [15] and to O ( n 2 log n ) time [16], subsequently.
Note that all the previous results mentioned above considered the minimum-width annulus problem, in which the objective is to minimize the width of the resulting annulus. However, less is known in the literature about the minimum-area annulus problem. It is known that the minimum-area circular annulus problem can be solved by a linear programming formulation, spending linear time, as also pointed out by Chan [10]. Compared to the currently best running time O ( n 3 2 + ϵ ) for its minimum-width variant [8], one would need a different approach to efficiently solve the minimum-area annulus problem. For the rectangular or square case, the author presented several first algorithms that compute a rectangular or square annulus with minimum area in fixed or arbitrary orientation [15]. In particular, a minimum-area rectangular annulus enclosing P over all orientations can be computed in O ( n 2 log n ) time.
In this paper, we are interested in parallelogram annuli. A parallelogram annulus is defined to be the closed region between two edge-parallel parallelograms, see Figure 1d. Its precise definition will be given in the next section. As a square or rectangle is a special case of a parallelogram, parallelogram annuli generalize both square or rectangular annuli, with at least one more degree of freedom to determine one such annulus. Very recently, the author [17,18] studied several variants of the minimum-width parallelogram annulus problem, and presented first algorithms, see Table 1 for the details.
This paper continues the study of the minimum parallelogram annulus problem with different objective functions, such as area, width, and their combinations. For these two popular extent measures, width and area, we reveal their relations and differences in the parallelogram annulus problem, upon the previous observations for minimum-width annuli [17], and finally devise first yet efficient algorithms for several variants of the problem. Our results in this paper are summarized as follows. Note that a parallelogram has two orientations for its sides, and so does a parallelogram annulus by definition.
(1)
When both side orientations are given and fixed, a minimum-area parallelogram annulus enclosing P can be computed in O ( n ) time. We also prove that, in this case, there is a unique minimum-area parallelogram annulus enclosing P, and it also minimizes the width.
(2)
When one of the two side orientations is fixed and the other can be freely chosen, a minimum-area parallelogram annulus enclosing P can be found in O ( n 2 log n ) time.
(3)
When the angle between the adjacent sides is fixed, a minimum-area parallelogram annulus enclosing P can be computed in O ( n 2 log n ) time. This algorithm generalizes the previous O ( n 2 log n ) -time algorithm [15] finding a minimum-area rectangular annulus over all orientations, without increasing the running time.
(4)
A minimum-width parallelogram annulus enclosing P over all pairs of side orientations can be found in O ( n 4 + ϵ ) time, where ϵ > 0 is an arbitrarily small positive constant.
All the above algorithms are the first nontrivial solutions to the corresponding variant of the problem. To our best knowledge, there was no known algorithm that minimizes the area of the resulting parallelogram annulus in the literature. We also consider several bicriteria variants of the problem for each of the above four cases: finding a minimum-width minimum-area annulus or minimum-area minimum-width annulus. Table 1 summarizes the currently best algorithms for each of those variants of the minimum parallelogram annulus problem, including our present results. In order to obtain these new algorithms, we exploit geometric observations, newly obtained in this paper and known in the previous papers [15,17,18], and the symmetric nature of parallelograms and parallelogram annuli.
The rest of the paper is organized as follows: Section 2 introduces necessary concepts and definitions, and precisely formulates our problems. We then investigate the parallelogram annulus problem and devise efficient algorithms in Section 3, Section 4, Section 5 and Section 6 for each of the above four cases. After some discussion on our results in Section 7, we finally conclude the paper in Section 8 with some remarks.

2. Preliminaries

Throughout the paper, we consider the plane R 2 with the horizontal x-axis and the vertical y-axis. Let A R 2 be any subset. Let A and int A denote its boundary and interior. The line segment between any two points p , q R 2 shall be denoted by p q ¯ , and its Euclidean length by | p q ¯ | .
Parallelograms and parallelogram annuli are the geometric objects we will mainly discuss in this paper. Generalizing a circular annulus, a parallelogram annulus is the closed region obtained by subtracting a parallelogram hole from a larger parallelogram. Note that a circular annulus is the closed region between two concentric circles. In this paper, we give a precise definition of a parallelogram annulus in terms of strips.

2.1. Strips and Parallelogram Annuli

A strip is the closed region between two parallel lines in the plane. The orthogonal distance between the two bounding lines of any strip S is called the width of S, denoted by width ( S ) . The middle line  μ ( S ) of strip S is the line parallel to its bounding lines such that the distance between μ ( S ) and each of the bounding lines is exactly half the width width ( S ) of S, see Figure 2a.
A parallelogram is a quadrilateral obtained by intersecting two non-parallel strips. A parallelogram annulus A is defined by the closed region between its outer parallelogram R and inner parallelogram R such that the following conditions are satisfied: Letting S 1 , S 2 , S 1 , S 2 be four strips such that R = S 1 S 2 and R = S 1 S 2 ,
  • μ ( S 1 ) = μ ( S 1 ) ,
  • μ ( S 2 ) = μ ( S 2 ) , and
  • width ( S 1 ) width ( S 1 ) = width ( S 2 ) width ( S 2 ) 0 .
The width of A, denoted by width ( A ) , is the distance between its outer parallelogram R and inner parallelogram R , that is,
width ( A ) = width ( S 1 ) width ( S 1 ) 2 = width ( S 2 ) width ( S 2 ) 2 .
The area of A, denoted by area ( A ) , is the difference of the areas of R and R , that is,
area ( A ) = area ( R ) area ( R ) .
See Figure 2b for an illustration.

2.2. Orientations and the Width Function

Any line or line segment has its orientation  θ [ 0 , π ) such that rotating by θ in the clockwise direction makes it parallel to the x-axis. A line or line segment is called θ-aligned if its orientation is θ . For any strip S, if its bounding lines are θ -aligned, then we say that S is θ -aligned. A parallelogram or parallelogram annulus shall be called ( θ 1 , θ 2 ) -aligned if it is defined by θ 1 -aligned and θ 2 -aligned strips. A ( θ 1 , θ 2 ) -aligned parallelogram or parallelogram annulus is also called either θ 1 -aligned or θ 2 -aligned.
Let p , q R 2 be two points in the plane. Throughout the paper, we will often handle strips defined by two parallel lines through p and q, and their widths. For any orientation θ [ 0 , π ) , let σ θ ( p , q ) be the width of the strip defined by two θ -aligned lines through p and q, respectively. We then observe that
σ θ ( p , q ) = | p q ¯ | · | sin ( θ p q θ ) | = | p q ¯ | · sin | θ θ p q | ,
where θ p q [ 0 , π ) denotes the orientation of p q ¯ and | · | denotes the absolute value, see Figure 3a.

2.3. Sinusoidal Functions

A function of the form
a sin ( ω θ + ϕ ) + b
for some constants a , b , ω , ϕ R is called a sinusoidal function, where a, b, ω , and ϕ are called its amplitude, base, (angular) frequency, and phase, respectively.
Sinusoidal functions have several nice behaviors. The following are of special interests in this paper.
Lemma 1 
(Lyons [19]). The sum of two sinusoidal functions of base 0 and frequency ω is another sinusoidal function of base 0 and frequency ω. Thus, there is at most one solution θ [ 0 , π ) that makes equal the values of two sinusoidal functions of equal frequency.
Lemma 2. 
The product of two sinusoidal functions of base 0 and frequency ω is equal to a sinusoidal functions of frequency 2 ω . Specifically, it holds that
a 1 sin ( ω θ + ϕ 1 ) · a 2 sin ( ω θ + ϕ 2 ) = a 1 a 2 2 sin 2 ω θ + ϕ 1 + ϕ 2 π 2 + cos ( ϕ 1 ϕ 2 ) ,
for any constants a 1 , a 2 , ϕ 1 , ϕ 2 , ω R .
Proof. 
We use the exponential form of sinusoidal functions:
sin ( x ) = i 2 e i x e i x and cos ( x ) = 1 2 e i x + e i x ,
where i denotes the ideal unit such that i 2 = 1 .
Therefore, we have
a 1 sin ( ω θ + ϕ 1 ) · a 2 sin ( ω θ + ϕ 2 ) = a 1 a 2 4 e i ( w θ + ϕ 1 ) e i ( w θ + ϕ 1 ) e i ( w θ + ϕ 2 ) e i ( w θ + ϕ 2 ) = a 1 a 2 4 e i ( 2 w θ + ϕ 1 + ϕ 2 ) + e i ( 2 w θ + ϕ 1 + ϕ 2 ) e i ( ϕ 2 ϕ 1 ) + e i ( ϕ 1 ϕ 2 ) = a 1 a 2 2 1 2 e i ( 2 w θ + ϕ 1 + ϕ 2 ) + e i ( 2 w θ + ϕ 1 + ϕ 2 ) + 1 2 e i ( ϕ 1 ϕ 2 ) + e i ( ϕ 1 ϕ 2 ) = a 1 a 2 2 cos ( 2 w θ + ϕ 1 + ϕ 2 ) + c o s ( ϕ 1 ϕ 2 ) = a 1 a 2 2 sin 2 w θ + ϕ 1 + ϕ 2 π 2 + c o s ( ϕ 1 ϕ 2 ) ,
as claimed, as cos ( x ) = sin ( π / 2 x ) = sin ( x π / 2 ) for any x R . □
Note that, taking θ [ 0 , π ) as a variable, the function σ θ ( p , q ) for fixed points p , q R 2 is piecewise sinusoidal of frequency 1 and base 0 with at most one breakpoint at θ = θ p q .

2.4. Extreme Points and Antipodal Pairs

Now, suppose that a set P of n points in R 2 is given. Let conv ( P ) be its convex hull. An extreme point of P is one that appears as a corner of the convex hull conv ( P ) of P. For any θ [ 0 , π ) , consider the θ -aligned strip of minimum width that encloses P, and denote it by S ( θ ) . Then, the two lines that bound S ( θ ) go through two extreme points of P, one on each. More precisely, let + ( θ ) and ( θ ) be the two bounding lines of S ( θ ) such that + ( θ ) lies to the left of ( θ ) if θ 0 , or + ( θ ) lies above ( θ ) if θ = 0 . There exists an extreme point of P on each of + ( θ ) and ( θ ) ; we denote it by χ + ( θ ) and χ ( θ ) , respectively. Then, the width width ( S ) of S ( θ ) is represented by
width ( S ( θ ) ) = σ θ ( χ + ( θ ) , χ ( θ ) ) .
See Figure 3b.
For each θ [ 0 , π ) , the pair ( χ + ( θ ) , χ ( θ ) ) is called antipodal. Toussaint [20] invented the well-known rotating caliper technique and proved the following lemma.
Lemma 3 
(Toussaint [20]). There are O ( n ) different antipodal pairs for P. All these antipodal pairs can be identified in O ( n ) time, after the convex hull conv ( P ) is computed.
Starting from θ = 0 , consider the motion of the two lines + ( θ ) and ( θ ) as θ continuously increases. During this motion, observe that the antipodal pair ( χ + ( θ ) , χ ( θ ) ) for θ changes only when either + ( θ ) or ( θ ) contains two extreme points of P and thus an edge of conv ( P ) . Thus, we can decompose the orientation domain [ 0 , π ) into maximal intervals I such that the antipodal pair ( χ + ( θ ) , χ ( θ ) ) remains constant in I. The number of such intervals I is bounded by O ( n ) by Lemma 3.

2.5. Problems Definition

In this paper, we study the problem of computing a parallelogram annulus of minimum extent enclosing n given points P. The objective extents to be minimized are area, width, and their combinations. We consider four variants by restricting the two side orientations of the resulting parallelogram annuli.
To be more precise, for each θ 1 , θ 2 [ 0 , π / 2 ) , let A ( θ 1 , θ 2 ) be the collection of all ( θ 1 , θ 2 ) -aligned parallelogram annuli enclosing P. Let A ( θ ) : = θ [ 0 , π ) A ( θ , θ ) , and A : = θ [ 0 , π ) A ( θ ) . We consider the following optimization problems: The minimum-width problem and the minimum-area problem ask to minimize width ( A ) and area ( A ) , respectively,
(1)
over all A A ( θ 1 , θ 2 ) for fixed orientations θ 1 , θ 2 [ 0 , π ) ,
(2)
over all A A ( θ ) for a fixed θ [ 0 , π ) ,
(3)
over all A θ [ 0 , π ) A ( θ , θ + α ) for a fixed angle α ( 0 , π / 2 ) , or
(4)
over all A A .
In some cases, there is a unique optimal annulus for the above optimization problems, while this is not the case in general. Thus, one can consider a bicriteria optimization problem that minimizes both width and area. Here, in this paper, we will discuss the following in each of the above four cases.
  • The minimum-area minimum-width problem: find a parallelogram annulus of minimum area among those with minimum width over A ( θ 1 , θ 2 ) , A ( θ ) , θ [ 0 , π ) A ( θ , θ + α ) , or A .
  • The minimum-width minimum-area problem: find a parallelogram annulus of minimum width among those with minimum area over A ( θ 1 , θ 2 ) , A ( θ ) , θ [ 0 , π ) A ( θ , θ + α ) , or A .

3. When Both Side Orientations Are Fixed

In this section, we study the problem when two side orientations θ 1 and θ 2 are fixed. Thus, in this variant of the problem, we are given a set P of n points in the plane and two orientations θ 1 , θ 2 [ 0 , π ) , and want to find an optimal parallelogram annulus over all ( θ 1 , θ 2 ) -aligned annuli that encloses P.

3.1. Minimum-Area Annuli

For any θ 1 , θ 2 [ 0 , π ) with θ 1 θ 2 , let R ( θ 1 , θ 2 ) : = S ( θ 1 ) S ( θ 2 ) be the ( θ 1 , θ 2 ) -aligned parallelogram obtained by intersecting two strips S ( θ 1 ) and S ( θ 2 ) . By definition, observe that every side of R ( θ 1 , θ 2 ) contains an extreme point of P. Note that if a point p P lies at a corner of R ( θ 1 , θ 2 ) , then we regard that p lies both on the two sides incident to the corner. This implies that R ( θ 1 , θ 2 ) is indeed the smallest ( θ 1 , θ 2 ) -aligned parallelogram that encloses P.
Lemma 4. 
Let A be any minimum-area ( θ 1 , θ 2 ) -aligned annulus that encloses P. Then, its outer parallelogram must be R ( θ 1 , θ 2 ) .
Proof. 
Let A be any minimum-area ( θ 1 , θ 2 ) -aligned annulus that encloses P. Let S 1 and S 2 be the θ 1 -aligned strip and the θ 2 -aligned strip, respectively, whose intersection determines the outer parallelogram R of A. Suppose that the outer parallelogram R is not exactly equal to R ( θ 1 , θ 2 ) , that is, R R ( θ 1 , θ 2 ) . As A encloses P, so does R. Since R ( θ 1 , θ 2 ) is the smallest ( θ 1 , θ 2 ) -aligned parallelogram that encloses P, we have R ( θ 1 , θ 2 ) R , and thus there exists a side of R in which no point of P is contained. In the following, we show that there exists another ( θ 1 , θ 2 ) -aligned annulus A that encloses P with area ( A ) < area ( A ) , leading to a contradiction.
Assume without loss of generality that θ 1 = 0 and the upper horizontal side e of R contains no point of P. Note that e is a portion of the upper boundary line of S 1 , so contains no point of P on it, see Figure 4a. Now, we slide downwards until it hits a point in P, and let be the resulting line by this sliding process. We replace the upper bounding line of S 1 by to have a new strip S 1 . Let R : = S 1 S 2 and A be the ( θ 1 , θ 2 ) -aligned annulus whose outer parallelogram is R and width is exactly the same as the width width ( A ) of A, see Figure 4b.
Observe that no point of P sticks out above during the above sliding process, that is, the new annulus A still encloses P. Further, observe that R R , thus it holds that area ( A ) < area ( A ) . This leads to a contradiction to the assumption that A is a minimum-area ( θ 1 , θ 2 ) -aligned annulus.
The argument so far implies that every side of the outer parallelogram R of any minimum-area ( θ 1 , θ 2 ) -aligned annulus A enclosing P should contain a point of P. Therefore, R is the smallest ( θ 1 , θ 2 ) -aligned parallelogram enclosing P, that is, R = R ( θ 1 , θ 2 ) . □
For any w 0 , let A ( w ) be the ( θ 1 , θ 2 ) -aligned annulus whose outer parallelogram is R ( θ 1 , θ 2 ) and width is w. By Lemma 4, the minimum-area ( θ 1 , θ 2 ) -aligned annulus that encloses P can be computed by finding the smallest width w * such that A ( w * ) encloses P. This implies the uniqueness of the annulus of minimum area.
Lemma 5. 
There exists a unique minimum-area ( θ 1 , θ 2 ) -aligned annulus that encloses P.
Proof. 
Suppose that there are two distinct minimum-area ( θ 1 , θ 2 ) -annuli A and A that enclose P. Hence, we have area ( A ) = area ( A ) on one hand. By Lemma 4, on the other hand, any minimum-area ( θ 1 , θ 2 ) -aligned annulus enclosing P has R ( θ 1 , θ 2 ) as its outer parallelogram. Thus, R ( θ 1 , θ 2 ) is the common outer parallelogram of both A and A .
Let w : = width ( A ) and w : = width ( A ) . As A and A have the same outer parallelogram, it must hold that w w . Assume without loss of generality that w < w . This implies that area ( A ) < area ( A ) , a contradiction to the assumption that both A and A are of minimum area and thus area ( A ) = area ( A ) . □
Now, we describe how to compute the minimum width w * such that A ( w * ) encloses P. From the definition of parallelogram annuli, note that the inner parallelogram of A ( w ) for each w > 0 is determined by the intersection of two strips S 1 and S 2 such that μ ( S 1 ) = μ ( S ( θ 1 ) ) , μ ( S 2 ) = μ ( S ( θ 2 ) ) , and width ( S ( θ 1 ) ) width ( S 1 ) = width ( S ( θ 2 ) ) width ( S 2 ) = 2 w . Furthermore, observe that A ( w ) contains a point p P if and only if the distance from p to the boundary of R ( θ 1 , θ 2 ) is at most w. Let d p be this distance from p to the boundary of R ( θ 1 , θ 2 ) . Since d p is chosen as the minimum among the distance from p to every side of R ( θ 1 , θ 2 ) , we can write
d p : = min { σ θ 1 ( χ + ( θ 1 ) , p ) , σ θ 1 ( χ ( θ 1 ) , p ) , σ θ 2 ( χ + ( θ 2 ) , p ) , σ θ 2 ( χ + ( θ 2 ) , p ) } .
Since d p is the smallest value of w such that A ( w ) contains p, we have
w * = max p P d p .
We are now ready to describe our algorithm, when both side orientations θ 1 , θ 2 [ 0 , π ) are given. First, we find the four extreme points χ + ( θ 1 ) , χ ( θ 1 ) , χ + ( θ 2 ) , and χ ( θ 2 ) . This can be done in O ( n ) time. We then compute the values of d p for all p P and find their maximum, which is exactly w * , as discussed above. The corresponding annulus can be constructed from the outer parallelogram R ( θ 1 , θ 2 ) and its width w * . Therefore, we conclude the following.
Theorem 1. 
Given a set P of n points in the plane and two orientations θ 1 , θ 2 [ 0 , π ) with θ 1 θ 2 , there exists a unique minimum-area ( θ 1 , θ 2 ) -aligned annulus that encloses P and it can be computed in O ( n ) time.

3.2. Minimum-Width Annuli

Here, we investigate relations between minimum-area and minimum-width parallelogram annuli in a fixed pair of side orientations.
Let θ 1 , θ 2 [ 0 , π ) be two fixed orientations with θ 1 θ 2 as declared above. Let A ( θ 1 , θ 2 ) be the unique minimum-area ( θ 1 , θ 2 ) -aligned annulus described in Lemma 5.
The author [17] studied the minimum-width variant of the problem. Unlike the minimum-area counterpart, it is not difficult to see that there can be infinitely many annuli of the same minimum width that encloses P. An important observation on the minimum-width annuli is the following:
Lemma 6 
(Bae [17]). Given θ 1 , θ 2 [ 0 , π ) with θ 1 θ 2 , there exists a minimum-width ( θ 1 , θ 2 ) -aligned annulus that encloses P whose outer parallelogram is R ( θ 1 , θ 2 ) .
This observation together with the above discussions on the minimum-area annulus implies the following.
Lemma 7. 
For any θ 1 , θ 2 [ 0 , π ) with θ 1 θ 2 , the minimum-area annulus A ( θ 1 , θ 2 ) is also a minimum-width ( θ 1 , θ 2 ) -aligned annulus that encloses P. Therefore, its width width ( A ( θ 1 , θ 2 ) ) is indeed the minimum possible width over all ( θ 1 , θ 2 ) -aligned annuli that enclosing P.
Proof. 
Recall that the annulus A ( θ 1 , θ 2 ) is constructed in the way that we minimize its width given the outer parallelogram R ( θ 1 , θ 2 ) . Lemma 6 implies that the existence of a minimum-width annulus whose outer parallelogram is R ( θ 1 , θ 2 ) . Thus, this implies that A ( θ 1 , θ 2 ) is also a minimum-width ( θ 1 , θ 2 ) -aligned annulus that encloses P. □
Summarizing, the annulus A ( θ 1 , θ 2 ) is the optimal solution both to the minimum-area and minimum-area parallelogram annulus in a fixed pair ( θ 1 , θ 2 ) of side orientations. This makes all bicriteria optimization variants of the problem trivial to compute the annulus A ( θ 1 , θ 2 ) , thus solved in O ( n ) time by Theorem 1.
Theorem 2. 
Given a set P of n points in the plane and two orientations θ 1 , θ 2 [ 0 , π ) with θ 1 θ 2 , the annulus A ( θ 1 , θ 2 ) is the unique common optimal solution to the problems of computing a minimum-area, minimum-width, minimum-width minimum-area, and minimum-area minimum-width ( θ 1 , θ 2 ) -aligned parallelogram annulus that encloses P.

3.3. Relation between Width and Area

Finally, we conclude this section by deriving an equation between the width width ( A ( θ 1 , θ 2 ) ) and the area area ( A ( θ 1 , θ 2 ) ) of the annulus A ( θ 1 , θ 2 ) for any θ 1 , θ 2 [ 0 , π ) with θ 1 θ 2 . Throughout the paper, we shall write
width ( θ 1 , θ 2 ) = width ( A ( θ 1 , θ 2 ) )
and
area ( θ 1 , θ 2 ) = area ( A ( θ 1 , θ 2 ) ) ,
for short, hereafter.
Lemma 8. 
For any θ 1 , θ 2 [ 0 , π ) with θ 1 θ 2 , it holds that
area ( θ 1 , θ 2 ) = 2 width ( θ 1 , θ 2 ) sin | θ 2 θ 1 | σ θ 1 ( χ + ( θ 1 ) , χ ( θ 1 ) ) + σ θ 2 ( χ + ( θ 2 ) , χ ( θ 2 ) ) 2 width ( θ 1 , θ 2 ) .
Proof. 
By a simple geometric observation, we have the following identity:
area ( θ 1 , θ 2 ) = peri ( R ( θ 1 , θ 2 ) ) · width ( θ 1 , θ 2 ) 4 ( width ( θ 1 , θ 2 ) ) 2 sin | θ 2 θ 1 | ,
where peri ( · ) denotes the perimeter of a polygon, see Figure 5a.
The perimeter of the parallelogram R ( θ 1 , θ 2 ) can be represented as follows in terms of the extreme points. Note that R ( θ 1 , θ 2 ) = S ( θ 1 ) S ( θ 2 ) , the intersection of two strips enclosing P. By definition, the strip S ( θ ) for any θ [ 0 , π ) is determined by two θ -aligned lines through the extreme points χ + ( θ ) and χ ( θ ) of P in orientation θ .
Let l 1 and l 2 be the length of a side of R ( θ 1 , θ 2 ) that is θ 1 -aligned and θ 2 -aligned, respectively. The length l 1 is determined by two extreme points χ + ( θ 2 ) and χ ( θ 2 ) . More precisely, the endpoints of a θ 1 -aligned side e of R ( θ 1 , θ 2 ) are the projections of χ + ( θ 2 ) and χ ( θ 2 ) onto the line extending e in direction θ 2 . This implies that
l 1 = σ θ 2 ( χ + ( θ 2 ) , χ ( θ 2 ) ) | sin ( θ 2 θ 1 ) | .
See Figure 5b for an illustration. Symmetrically, we have
l 2 = σ θ 1 ( χ + ( θ 1 ) , χ ( θ 1 ) ) | sin ( θ 1 θ 2 ) | .
As sin ( x ) = sin ( x ) for any real x R , we have | sin ( θ 2 θ 1 ) | = sin | θ 2 θ 1 | = | sin ( θ 1 θ 2 ) | . In turn, the perimeter of R ( θ 1 , θ 2 ) can be represented as follows:
peri ( R ( θ 1 , θ 2 ) ) = 2 l 1 + 2 l 2 = 2 sin | θ 2 θ 1 | σ θ 1 ( χ + ( θ 1 ) , χ ( θ 1 ) ) + σ θ 2 ( χ + ( θ 2 ) , χ ( θ 2 ) ) .
Plugging this into the above equation for area ( θ 1 , θ 2 ) , we obtain the claimed equation. □

4. When One Orientation Is Fixed and the Other Is Arbitrary

In this section, we consider the case where one side orientation is given and fixed while the other side orientation can be chosen arbitrarily. That is, given an orientation ϕ [ 0 , π ) , our goal is to find an optimal annulus over all ( ϕ , θ ) -aligned parallelogram annuli enclosing P. From the discussion in the previous section, Theorem 2 implies that it suffices to find an optimal one among annuli A ( ϕ , θ ) over all θ ( 0 , π ) , regardless of which objective we take into account: the width, the area, or their combinations.
In the following, we assume that ϕ = 0 without loss of generality. We first solve the minimum-area problem in this case and then consider the annuli of minimum width.

4.1. Minimum-Area Annuli

For any θ ( 0 , π ) , let A 0 ( θ ) : = A ( 0 , θ ) . Also, let width 0 ( θ ) : = width ( 0 , θ ) and area 0 ( θ ) : = area ( θ ) be its width and area.
In this section, we consider θ as a variable and the above objects as functions of θ . We analyze the width and area functions, width 0 ( θ ) and area 0 ( θ ) , and show how to efficiently compute their explicit description, from which we can minimize width 0 ( θ ) and area 0 ( θ ) over θ ( 0 , π ) .
We start by investigating the width function width 0 ( θ ) . For each p P , define a function d p : ( 0 , π ) R such that d p ( θ ) is the distance to the boundary of the outer parallelogram R ( 0 , θ ) of A ( 0 , θ ) = A 0 ( θ ) . Then, the distance d p ( θ ) can be represented by the minimum of the distances to the four sides of R ( 0 , θ ) , that is,
d p ( θ ) = min { σ 0 ( χ + ( 0 ) , p ) , σ 0 ( χ ( 0 ) , p ) , σ θ ( χ + ( θ ) , p ) , σ θ ( χ ( θ ) , p ) } .
The width width 0 ( θ ) of the annulus A 0 ( θ ) is obtained by choosing the maximum of the values of d p ( θ ) over all p P :
width 0 ( θ ) = max p P d p ( θ ) ,
since A 0 ( θ ) should enclose all points of P.
Recall from Lemma 3 that there are O ( n ) different antipodal pairs and the orientation domain [ 0 , π ) is decomposed into O ( n ) maximal intervals I such that the pair ( χ + ( θ ) , χ ( θ ) ) is fixed over all θ I . We shall call such an interval I a primary interval. Pick any primary interval I, and consider the functions d p on I for p P . For θ I , the corresponding extreme points χ + ( θ ) and χ ( θ ) are fixed, so d p is of a constant descriptive complexity. Note that σ 0 ( χ + ( 0 ) , p ) and σ 0 ( χ ( 0 ) , p ) are just constants, and the other two terms σ θ ( χ + ( θ ) , p ) and σ θ ( χ ( θ ) , p ) are piecewise sinusoidal of frequency 1 and base 0 with at most one breakpoint, as discussed in Section 2. Since the function d p is indeed the lower envelope of these four terms, the function d p over I is piecewise sinusoidal with O ( 1 ) breakpoints. As width 0 is the upper envelope of the functions d p for all p P , we conclude the following.
Lemma 9. 
Let I [ 0 , π ) be any primary interval. The width function width 0 over I is piecewise sinusoidal of frequency 1 and base 0 with O ( n α ( n ) ) breakpoints, where α ( · ) denotes the inverse Ackermann function. Moreover, each sinusoidal piece of width 0 is concave. The explicit description of width 0 over I can be computed in O ( n log n ) time.
Proof. 
From the above discussion, we know that the function d p for each p P is piecewise sinusoidal of frequency 1 and base 0 with O ( 1 ) breakpoints over any primary interval I. In other words, d p can be described O ( 1 ) partial functions that are sinusoidal of frequency 1 and base 0. Moreover, note that each of these partial functions are from σ θ ( q , p ) for some extreme point q P , and thus it is always nonnegative. This implies that each such partial function of d p is indeed concave.
Now, consider the function width 0 over I. Since width 0 ( θ ) = max p P d p ( θ ) , it is the upper envelope of O ( n ) sinusoidal partial functions. By Lemma 1, any two sinusoidal functions cross at most once over I. Thus, the upper envelope of O ( n ) such sinusoidal curves corresponds to a Davenport–Schinzel sequence of order 3 and can be described by at most O ( n α ( n ) ) sinusoidal pieces [21]. These pieces are of frequency 1 and base 0, and concave as they are portions of functions d p .
The explicit description of function width 0 over I can be obtained by computing the upper envelope of the graphs of d p over I. Since the graphs of d p for all p P consists of O ( n ) sinusoidal curves and any two of them cross at most once by Lemma 1, this can be done by applying the algorithm by Hershberger [22] in O ( n log n ) . □
Now, we consider the area function area 0 ( θ ) . Lemma 8 tells us that area 0 ( θ ) is represented in terms of the width width 0 ( θ ) . More specifically, we have
area 0 ( θ ) = 2 width 0 ( θ ) sin θ ( σ 0 ( χ + ( 0 ) , χ ( 0 ) ) + σ θ ( χ + ( θ ) , χ ( θ ) ) 2 width 0 ( θ ) ) .
In each primary interval I, note that the antipodal pair ( χ + ( θ ) , χ ( θ ) ) is fixed for any θ I . Therefore, between any two consecutive breakpoints of function width 0 , the function area 0 ( θ ) is of the form
area 0 ( θ ) = a sin ( 2 θ + b ) + c sin θ ,
where a , b , c R are some constants, by Lemmas 1 and 2.
This implies the following.
Lemma 10. 
Let I [ 0 , π ) be any primary interval. The area function area 0 over I is piecewise of the form a sin ( 2 θ + b ) + c sin θ for some constants a , b , c R with at most O ( n α ( n ) ) breakpoints, and its explicit description can be computed in O ( n log n ) time.
Proof. 
Immediate from the above discussion. □
For each primary interval I, we can compute the description of function area 0 and thus can minimize it over I. Lemma 10 tells us that the function area 0 consists of O ( n α ( n ) ) pieces of constant descriptive complexity. Therefore, we can find the minimum min θ I area 0 ( θ ) in O ( n α ( n ) ) time. Since there are O ( n ) primary intervals by Lemma 3, we spend O ( n 2 log n ) time in total to compute the full description of area 0 over [ 0 , π ) and to find its global minimum min 0 < θ < π area 0 ( θ ) . Hence, we conclude the following.
Theorem 3. 
Given a set P of n points in the plane and an orientation ϕ [ 0 , π ) , a minimum-area ϕ-aligned parallelogram annulus that encloses P can be computed in O ( n 2 log n ) time.
Proof. 
Here, we give a brief description of our whole algorithm to compute a minimum-area ϕ -aligned parallelogram annulus that encloses P. As above, we assume ϕ = 0 without loss of generality. Then, the problem is turn to minimize area 0 ( θ ) over θ ( 0 , π ) .
First, we compute the convex hull conv ( P ) in O ( n log n ) time and specify all extreme points and antipodal pairs by Lemma 3. This way, we can find all primary intervals. Then, for each primary interval I, we compute in O ( n log n ) time the description of function width 0 on I by Lemma 9 and that of function area 0 on I by Lemma 10. As discussed above the minimum of area ( θ ) over θ I can be computed in O ( n α ( n ) ) time.
Since there are O ( n ) antipodal pairs by Lemma 3, the total time to compute a global minimum of area 0 ( θ ) over θ ( 0 , π ) is bounded by O ( n 2 log n ) . □
Note that our algorithm indeed compute the full description of the function area 0 to find its minimum. Thus, we can indeed find all the minimum points of area 0 in the same time bound. This implies the following corollary.
Corollary 1. 
Given a set P of n points in the plane and an orientation ϕ [ 0 , π ) , all minimum-area ϕ-aligned parallelogram annuli that encloses P can be computed in O ( n 2 log n ) time. Therefore, a minimum-width minimum-area ϕ-aligned parallelogram annulus that encloses P can be computed in the same time bound.

4.2. Minimum-Width Annuli

Next, we consider the problem of computing a minimum-area minimum-width annulus. By the above approach, we also obtain the full description of the function width 0 ( θ ) over θ ( 0 , π ) in O ( n 2 log n ) time. This implies that we can specify all minimum-width annuli and thus compute a minimum-area minimum-width annulus that encloses P. In the following, we show that it can be done in O ( n 2 ) time.
We start by a brief review of the O ( n 2 ) -time algorithm that finds a minimum-width annulus for a fixed side orientation presented in the previous paper [17]. Let w * : = min 0 < θ < π width 0 ( θ ) be the minimum possible width.
The algorithm in [17] computes w * as follows: For each θ [ 0 , π ) and p P , let f p ( θ ) be the distance from p to the boundary of the strip S ( θ ) , that is,
f p ( θ ) = min { σ θ ( χ + ( θ ) , p ) , σ θ ( χ ( θ ) , p ) } .
Sort the points in P in the descending order of the distance to the boundary of the strip S ( 0 ) , that is, in the descending order of the values f p ( 0 ) = min { σ 0 ( χ + ( 0 ) , p ) , σ 0 ( χ ( 0 ) , p ) } for p P . Let p 1 , p 2 , , p n P be the points in P in this order, and let w i : = f p i ( 0 ) = min { σ 0 ( χ + ( 0 ) , p i ) , σ 0 ( χ ( 0 ) , p i ) } for each 1 i n . Let Q i : = { p 1 , p 2 , , p i 1 } for i = 1 , , n . For each 1 i n , compute the smallest value w i such that there exists an orientation θ ( 0 , π ) such that d p ( θ ) w i for all p Q i . Then, we have w * = min 1 i n max { w i , w i } .
Note that we have w 1 w 2 w n = 0 and 0 = w 1 w 2 w n by definition. The above procedure is proven to correctly compute w * and computing the values of w i for all i = 1 , 2 , , n can be done in O ( n 2 ) time in [17].
Here, our goal is to specify all ( 0 , θ ) -aligned annuli of width w * that enclose P over all θ ( 0 , π ) , and find one with minimum area among them. Let k { 1 , , n } be the smallest index such that w * w k . We then have either w * = w k or w * = w k . For θ [ 0 , π ) , define S ( θ ) to be the θ -aligned strip such that width ( S ( θ ) ) = width ( S ( θ ) ) 2 w * and its middle line is equal to the middle line of S ( θ ) , that is, μ ( S ( θ ) ) = μ ( S ( θ ) ) . Let Q : = Q k for convenience. Then, observe that all points in P \ Q are contained in S ( 0 ) \ int S ( 0 ) . In order to specify all ( 0 , θ ) -aligned annuli of width w * , we find all θ ( 0 , π ) such that the rest of points Q are contained in S ( θ ) \ int S ( θ ) . For such an orientation θ , the annulus defined by S ( 0 ) , S ( 0 ) , S ( θ ) , and S ( θ ) encloses all points of P and is of width exactly w * .
For the purpose, we consider the point q Q that determines the width of S ( θ ) for each θ . For each θ ( 0 , π ) , let Q θ + Q be the set of points q Q that is closer to the boundary line through χ + ( θ ) of S ( θ ) , and Q θ : = Q \ Q θ + . Let q θ + Q θ + , q θ Q θ be the farthest points from the boundary lines of S ( θ ) through χ + ( θ ) and χ ( θ ) , respectively. Then, define w ( θ ) to be the minimum value such that the strip S ( θ ) \ int S contains all points of Q, where S denotes the strip with μ ( S ) = μ ( S ( θ ) ) and width ( S ) = width ( S ( θ ) ) 2 w ( θ ) . Therefore, we have
w ( θ ) : = max { σ θ ( χ + ( θ ) , q θ + ) , σ θ ( χ ( θ ) , q θ ) } .
In the following, we show that the explicit description of the function w ( θ ) for θ ( 0 , π ) is of complexity O ( n 2 ) and can be computed in O ( n 2 ) time. After specifying the description of w ( θ ) , we can find all θ ( 0 , π ) such that w ( θ ) w * and thus there exists a ( 0 , θ ) -aligned annulus of width w * enclosing P.
Here, as done in [17], we adopt a geometric dualization ([23], Chapter 8). The plane R 2 in which we have so far discussed things is called the primal plane with the x- and y-axes. We consider another plane D , called the dual plane, with the u- and v-axes that correspond to the horizontal and vertical axes, respectively. A duality transform, denoted by , acts on points and lines in the primal plane R 2 and the dual plane D . More specifically, it maps a point p = ( a , b ) R 2 into a line p : v = a u b D and a non-vertical line : y = a x b R 2 into a point = ( a , b ) D , and vice versa. As a result, we have ( p ) = p and ( ) = for any point p and any non-vertical line either in R 2 or in D . A geometric object and its image under the duality transform are said to be dual to each other. Note that p lies below (on or above, resp.) if and only if lies below (on or above, resp.) p . See Figure 6 for an illustration.
Back to our problem, we consider the dual of the points in P, that is, the set P : = { p p P } of n lines in the dual plane D . From the arrangement of these lines in P , consider the upper envelope and the lower envelope, denoted by U and L , respectively. By an abuse of notation, we also consider these envelopes as two functions of u R so that U ( u ) and L ( u ) are the v-coordinates in D of points on U and L , respectively, at u R . Define a third function M ( u ) to be M ( u ) : = ( U ( u ) + L ( u ) ) / 2 . Observe that M ( u ) is the v-coordinate of the midpoint of the vertical segment ( u , U ( u ) ) ( u , L ( u ) ¯ for each u R in the dual plane D . Analogously, we regard M as the function itself and its graph M = { ( u , M ( u ) ) u R } drawn in D at the same time.
By the duality, we observe the correspondence between the above objects in D and the strip S ( θ ) in R 2 .
Lemma 11 
(Bae [17]). For each θ [ 0 , π ) with θ π / 2 , let u : = tan θ . Then, the following hold:
(1)
The dual of the two bounding lines of S ( θ ) is the two points ( u , U ( u ) ) and ( u , L ( u ) ) in D .
(2)
The dual ( μ ( S ( θ ) ) ) of the middle line μ ( S ( θ ) ) of S ( θ ) is the point ( u , M ( u ) ) in D .
Thus, we may say that the boundary of the strip S ( θ ) over all θ [ 0 , π ) is dual to U L , and the middle line μ ( S ( θ ) ) is dual to M . It is indeed well known that U L correspond to the boundary of conv ( P ) and thus the extreme points of P. From the correspondence between μ ( S ( θ ) ) and M , we observe that M forms a chain of O ( n ) line segments by Lemma 3.
Next, we consider the set Q : = { q q Q } of lines in D , and its arrangement A ( Q ) . As Q P , all lines in Q lie in between U and L in the dual plane D . We further add M in the arrangement to result in A ( Q M ) . Let Q + be the lower envelope of the portions of lines in Q above M . Symmetrically, Q is defined to be the upper envelope of those in Q below M . From the duality, we then observe the correspondence between ( q θ + , q θ ) and Q + Q .
Lemma 12 
(Bae [17]). For each θ [ 0 , π ) with θ π / 2 , let u : = tan θ . Then, the duals of the two θ-aligned lines through q θ + and q θ are the two points ( u , Q + ( u ) ) and ( u , Q ( u ) ) in D .
Lemma 12 implies that we can specify all pairs ( q θ + , q θ ) over θ [ 0 , π ) , once we have the substructures Q + and Q in the arrangement A ( Q M ) . Consequently, the orientation space [ 0 , π ) is decomposed into maximal intervals in which the pair ( q θ + , q θ ) is fixed and thus the function w ( θ ) is expressed in a fairly simple form.
To be more precise, take all breakpoints of M , Q + , and Q and their u-coordinates, say u 1 < u 2 < < u m . Let θ i : = tan 1 u i [ 0 , π ) and decompose the orientation space [ 0 , π ) into intervals by cutting it at every θ i . We call such intervals of [ 0 , π )  secondary intervals. Let J [ 0 , π ) be any secondary interval. By our construction and Lemma 12, observe that the four points χ + ( θ ) , χ ( θ ) , q θ + , and q θ are fixed over all θ J . For each secondary interval J [ 0 , π ) , let χ J + : = χ + ( θ ) , χ J : = χ ( θ ) , q J + : = q θ + , and q J : = q θ be these fixed points for any θ J .
Lemma 13. 
There are at most O ( n 2 ) secondary intervals, and we can compute them with the corresponding tuple of four points ( χ J + , χ J , q J + , q J ) in O ( n 2 ) time.
Proof. 
By definition, the endpoints of each secondary interval correspond to breakpoints of M , Q + , and Q . Therefore, in this proof, we analyze the structural complexity of M , Q + , and Q , and an efficient algorithm to compute them.
Recall that M is dual to the middle line μ ( S ( θ ) ) of S ( θ ) by Lemma 11, so Lemma 3 implies that M consists of O ( n ) line segments that correspond to the antipodal pairs. We can compute M in O ( n log n ) time by computing the convex hull conv ( P ) and the extreme points of P by Lemma 11.
In order to bound the complexity of Q + and Q , we make use of the Zone Theorem in the arrangement of lines. For any set Z of lines and a line in the plane, the zone of in the arrangement A ( Z ) of Z is the set of cells of A ( Z ) that are intersected by . The Zone Theorem then states that the total number of vertices, edges, and cells in the zone of in A ( Z ) is at most 5 | Z | [23]. This also enables us to compute the arrangement A ( Z ) in an incremental fashion in total quadratic time.
We start by computing the arrangement A ( Q ) of lines q for all q Q . This takes O ( | Q | 2 ) = O ( n 2 ) time. Then, for each segment e of M , we find all intersection points e q for all q Q . There are at most | Q | n such intersections for each e. Then, we can specify the part of Q + and Q above and below e, respectively, simply by walking along the boundary of cells of A ( Q ) that are intersected by e. Since the segment e is a portion of a line extending e, we apply the Zone Theorem to conclude that the number of vertices, edges, and cells of A ( Q ) we traverse is bounded by O ( | Q | ) = O ( n ) and the time spent for the walk is also bounded by O ( n ) for each segment e of M . Since M consists of O ( n ) segments, the total complexity to explicitly construct Q + and Q is bounded by O ( n 2 ) .
This also implies the complexity of Q + and Q is O ( n 2 ) , as the number of intersections between each segment e of M and lines in Q is at most n. That is, the number of breakpoints of Q + and Q is O ( n 2 ) , so the number of secondary intervals is O ( n 2 ) . The corresponding tuple of four points ( χ J + , χ J , q J + , q J ) for each secondary interval J can be also identified in the same time bound by traversing M , Q + , and Q in a linear way. □
We then turn to our original problem, and describe our algorithm that computes a minimum-area minimum-width 0-aligned annulus that encloses P. Recall that we want to find all θ [ 0 , π ) such that w ( θ ) w * and minimize the area of annuli among those orientations.
For each secondary interval J [ 0 , π ) and any θ J , we have
w ( θ ) = max { σ θ ( χ J + , q J + ) , σ θ ( χ J , q J ) } .
Since the four points χ J + , χ J , q J + , and q J are fixed for any θ J , the function w ( θ ) over θ J is piecewise sinusoidal of frequency 1 and base 0 with O ( 1 ) breakpoints by Lemma 1. Hence, all θ J such that w ( θ ) w * form a constant number of disjoint closed subintervals in J, and those intervals can be computed in O ( 1 ) time for each secondary interval J. We collect all those subintervals for all secondary intervals J in O ( n 2 ) time, denoted by { Θ 1 , Θ 2 , , Θ m } , where m = O ( n 2 ) . For each of these subintervals Θ i J of some secondary interval J, we minimize the area of the corresponding ( 0 , θ ) -aligned annulus whose width is w * . By Lemma 8, the area is represented as follows: for any θ Θ i ,
a ( θ ) : = 2 w * sin θ ( σ 0 ( χ + ( 0 ) , χ ( 0 ) ) + σ θ ( χ J + , χ J ) 2 w * ) .
Note that the terms w * and σ 0 ( χ + ( 0 ) , χ ( 0 ) ) are constants in the above equation, so a ( θ ) is of the form a sin ( θ + b ) + c sin θ for some constants a , b , c R in such a subinterval Θ i . Therefore, for each Θ i , we can minimize the area a ( θ ) over θ Θ i in O ( 1 ) time. Since the number m of such subintervals is O ( n 2 ) , it takes another O ( n 2 ) time to minimize a ( θ ) over all θ i Θ i . After identifying an optimal orientation θ * i Θ i that minimizes the area a ( · ) , the corresponding annulus can be easily constructed by taking R ( 0 , θ * ) as the outer parallelogram and w * as the width.
We finally conclude the following theorem.
Theorem 4. 
Given a set P of n points in the plane and an orientation ϕ [ 0 , π ) , a minimum-area minimum-width ϕ-aligned parallelogram annulus that encloses P can be computed in O ( n 2 ) time.

5. When an Interior Angle Is Fixed

Any parallelogram has two distinct interior angles that sum up to exactly π . We say that any parallelogram annulus is with interior angles  α and π α if its outer and inner parallelograms have interior angles α and π α . It is obvious that any ( θ 1 , θ 2 ) -aligned annulus with θ 2 > θ 1 has interior angles θ 2 θ 1 and π θ 2 + θ 1 .
Here, we consider another variant of the minimum parallelogram annulus problem in which we are given a set P of n points and an angle α ( 0 , π / 2 ] , and want to find an optimal parallelogram annulus with interior angle α . Again by Lemma 5, it suffices to handle the annuli A ( θ 1 , θ 2 ) whose outer parallelogram is the smallest ( θ 1 , θ 2 ) -aligned parallelogram R ( θ 1 , θ 2 ) enclosing P.
Let α ( 0 , π / 2 ] be a given interior angle that is at most π / 2 . As discussed above, the other interior angle is also fixed by π α , which is at least π / 2 . Our focus is thus on the ( θ 1 , θ 2 ) -aligned annuli A ( θ 1 , θ 2 ) such that θ 2 θ 1 = α . We thus define the width and the area functions for such annuli:
w ( θ ) : = width ( θ , θ + α ) and a ( θ ) : = area ( θ , θ + α )
for each θ [ 0 , π ) , where θ + α is supposed to be taken in modulo π when it is larger than π .
The author in the previous paper [18] presented an O ( n 2 log n ) -time algorithm that computes a minimum-width parallelogram annulus with a given interior angle, and proved the following about the width function w ( θ ) .
Lemma 14 
(Bae [18]). The width function w ( θ ) = width ( θ , θ + α ) for θ [ 0 , π ) is piecewise sinusoidal of frequency 1 and base 0 with O ( n 2 α ( n ) ) breakpoints, where α ( · ) denotes the inverse Ackermann function, and its explicit description can be computed in O ( n 2 log n ) time.
From the result summarized in Lemma 14, it is not difficult to find all θ that minimizes w ( θ ) . Hence, we have the following result.
Theorem 5. 
Given a set P of n points in the plane and an angle α ( 0 , π / 2 ] , all minimum-width parallelogram annuli with interior angle α that encloses P can be computed in O ( n 2 log n ) time. Therefore, a minimum-area minimum-width parallelogram annulus with interior angle α that encloses P can be computed in the same time bound.
Proof. 
First, we compute the description of the function w ( θ ) over θ [ 0 , π ) in O ( n 2 log n ) time by Lemma 14. Moreover, Lemma 14 also states that the function w ( θ ) consists of O ( n 2 α ( n ) ) partial functions that are sinusoidal of frequency 1 and base 0. That is, for each interval J [ 0 , π ) between two consecutive breakpoints, the function w ( θ ) is expressed in the form of a sin ( θ + b ) for some constants a , b R . Hence, we can minimize w ( θ ) over θ J in O ( 1 ) time. Since there are O ( n 2 α ( n ) ) of such intervals J, it takes O ( n 2 α ( n ) ) time to find all θ * [ 0 , π ) such that w ( θ * ) = min θ [ 0 , π ) w ( θ ) . The total running time is dominated by O ( n 2 log n ) , as α ( n ) = O ( log n ) . □
Next, we consider minimum-area annuli with fixed interior angle. The area a ( θ ) of the annulus A ( θ , θ + α ) can be written as follows by Lemma 8.
a ( θ ) = 2 sin α w ( θ ) · σ θ ( χ + ( θ ) , χ ( θ ) ) + w ( θ ) · σ θ + α ( χ + ( θ + α ) , χ ( θ + α ) ) 2 ( w ( θ ) ) 2 .
Note that α is a fixed constant and every term in the equation is the product of two sinusoidal functions of frequency 1 and base 0 in such an interval J that the extreme points χ + ( θ ) , χ ( θ ) , χ + ( θ + α ) , and χ ( θ + α ) are fixed and w ( θ ) is also sinusoidal for all θ J . Hence, we decompose the orientation space [ 0 , π ) into such intervals as follows.
First, take all breakpoints of function w ( θ ) obtained by Lemma 14 and let B 1 [ 0 , π ) be the set of these breakpoints. Next, consider all endpoints of primary intervals obtained by Lemma 3 and let B 2 [ 0 , π ) be the set of these endpoints. Finally, let B 3 : = { β α β B 2 } . We then decompose the orientation space [ 0 , π ) into intervals by cutting it at every orientation in B 1 B 2 B 3 . Since | B 1 | = O ( n 2 α ( n ) ) by Lemma 14 and | B 2 | = | B 3 | = O ( n ) by Lemma 3, we have O ( n 2 α ( n ) ) such intervals.
Lemma 15. 
The area function a ( θ ) for θ [ 0 , π ) is piecewise sinusoidal of frequency 2 with O ( n 2 α ( n ) ) breakpoints.
Proof. 
As discussed above, the orientation space [ 0 , π ) is decomposed into O ( n 2 α ( n ) ) intervals, in each of which the extreme points χ + ( θ ) , χ ( θ ) , χ + ( θ + α ) , and χ ( θ + α ) are fixed and w ( θ ) is sinusoidal of frequency 1 and base 0. Hence, in such an interval, the function a ( θ ) is the sum of three products of two sinusoidal functions of frequency 1 and base 0, divided by a constant sin α . By Lemmas 1 and 2, this results in a sinusoidal function of frequency 2. Thus, the lemma follows. □
In order to minimize a ( θ ) over θ [ 0 , π ) , we are done by handling each of these intervals between two consecutive breakpoints of a ( θ ) . In this way, we can find all orientations θ * such that a ( θ * ) = min θ [ 0 , π ) a ( θ ) , and the corresponding annuli.
Theorem 6. 
Given a set P of n points in the plane and an angle α [ 0 , π ) , all minimum-area parallelogram annulus with interior angle α that encloses P can be computed in O ( n 2 log n ) time. Therefore, a minimum-width minimum-area parallelogram annulus with interior angle α that encloses P can be computed in the same time bound.

6. When Both Side Orientations Are Arbitrary

We then consider the most general case where both side orientations can be chosen arbitrarily. We first solve the minimum-area problem of finding a minimum-area parallelogram annulus that encloses a given set P of n points, and then consider the minimum-width problem.

6.1. Minimum-Area Annuli

Specifically, our goal here is to find a global minimum of the bivariate function area ( θ 1 , θ 2 ) over θ 1 , θ 2 [ 0 , π ) . As done in the previous sections, we analyze the width function width ( θ 1 , θ 2 ) and find its explicit description. Then, we can find the description of function area ( θ 1 , θ 2 ) by Lemma 8.
Recall that width ( θ 1 , θ 2 ) and area ( θ 1 , θ 2 ) are the width and the area of the minimum ( θ 1 , θ 2 ) -aligned annulus A ( θ 1 , θ 2 ) whose outer parallelogram is R ( θ 1 , θ 2 ) = S ( θ 1 ) S ( θ 2 ) . For each p P and θ 1 , θ 2 [ 0 , π ) , let d p ( θ 1 , θ 2 ) be the distance from p to the boundary of the outer parallelogram R ( θ 1 , θ 2 ) . Since the four sides of R ( θ 1 , θ 2 ) contain the extreme points of P for orientations θ 1 and θ 2 , we can write
d p ( θ 1 , θ 2 ) = min { σ θ 1 ( χ + ( θ 1 ) , p ) , σ θ 1 ( χ ( θ 1 ) , p ) , σ θ 2 ( χ + ( θ 2 ) , p ) , σ θ 2 ( χ ( θ 2 ) , p ) } .
We then have
width ( θ 1 , θ 2 ) = max p P d p ( θ 1 , θ 2 ) .
Consider two primary intervals I 1 , I 2 [ 0 , π ) , and the function width ( θ 1 , θ 2 ) restricted to subdomain I 1 × I 2 . Note that the extreme points χ + ( θ ) and χ ( θ ) are fixed in any primary interval I, and thus σ θ ( χ + ( θ ) , p ) ) and σ θ ( χ ( θ ) , p ) ) , as functions of θ , are piecewise sinusoidal of frequency 1 and base 0 with at most one breakpoint, as discussed above. This implies that the function d p for each p on I 1 × I 2 is the lower envelope of at most eight sinusoidal patches in three dimension. More specifically, consider the graph of the function d p for each p, that is, a surface { ( θ 1 , θ 2 , z ) θ 1 , θ 2 [ 0 , π ) , z = d p ( θ 1 , θ 2 ) } in a three-dimensional space [ 0 , π ) × [ 0 , π ) × R , based on the ( θ 1 , θ 2 ) -plane with the third z-axis. From the above discussion, the graph of d p for ( θ 1 , θ 2 ) I 1 × I 2 consists of a constant number of sinusoidal surface patches. Hence, the function width ( θ 1 , θ 2 ) over ( θ 1 , θ 2 ) I 1 × I 2 is the upper envelope of O ( n ) sinusoidal patches.
Lemma 16. 
Let I 1 , I 2 [ 0 , π ) be two primary intervals. The graph of function width ( θ 1 , θ 2 ) over ( θ 1 , θ 2 ) I 1 × I 2 consists of O ( n 2 + ϵ ) surface patches that are of the form a sin ( θ 1 + b ) + c or a sin ( θ 2 + b ) + c for some constants a , b , c R , where ϵ is an arbitrarily small positive constant. Its explicit description can be computed in O ( n 2 + ϵ ) time.
Proof. 
As discussed above, the graph of d p over I 1 × I 2 consists of O ( 1 ) sinusoidal surface patches. These patches are the graph of partial functions of the form a sin ( θ 1 + b ) + c or a sin ( θ 2 + b ) + c by definition, for some constants a , b , c R . Let Γ p be the set of these patches from d p for each p P .
Since width ( θ 1 , θ 2 ) is the maximum of d p ( θ 1 , θ 2 ) over all p P , its graph in the three-dimensional space is the upper envelope of the surface patches in p P Γ p . The number of patches involved is O ( n ) .
Here, we apply the algorithm by Boissonat et al. [24] that computes the upper envelope of surface patches in three dimension. This implies that the graph of function width ( θ 1 , θ 2 ) over I 1 × I 2 consists of O ( n 2 + ϵ ) surface patches and can be computed in O ( n 2 + ϵ ) time. □
We then apply Lemma 8 to obtain the area function area ( θ 1 , θ 2 ) over I 1 × I 2 .
Lemma 17. 
Let I 1 , I 2 [ 0 , π ) be two primary intervals. The graph of function area ( θ 1 , θ 2 ) over ( θ 1 , θ 2 ) I 1 × I 2 consists of O ( n 2 + ϵ ) surface patches of the form
1 sin | θ 2 θ 1 | ( a 1 sin ( 2 θ 1 + b 1 ) + a 2 sin ( 2 θ 2 + b 2 ) + a 3 sin ( θ 1 + b 3 ) sin ( θ 2 + b 4 ) + c ) ,
for some constants a 1 , a 2 , a 3 , b 1 , b 2 , b 3 , b 4 , c R . Its explicit description can be computed in O ( n 2 + ϵ ) time.
Proof. 
From Lemmas 8 and 16, it follows that the graph of function area ( θ 1 , θ 2 ) over ( θ 1 , θ 2 ) I 1 × I 2 consists of O ( n 2 + ϵ ) surface patches, and these patches can be computed in the same time bound.
By Lemmas 1, 2, and 16, each of these patches of function area ( θ 1 , θ 2 ) appears to have the claimed form. □
The above lemmas imply that for any two primary intervals I 1 , I 2 , the rectangular subdomain I 1 × I 2 is decomposed into O ( n 2 + ϵ ) cells in each of which the function area ( θ 1 , θ 2 ) is of constant descriptive complexity. Hence, we can minimize area ( θ 1 , θ 2 ) in each cell in O ( 1 ) time. Consequently, we conclude the following.
Theorem 7. 
Given a set P of n points in the plane, a minimum-area parallelogram annulus that encloses P can be computed in O ( n 4 + ϵ ) time, where ϵ > 0 denotes an arbitrarily small positive real number.
Proof. 
By Lemma 17 and the above discussion, for two primary intervals I 1 , I 2 [ 0 , π ) , we can find a minimum of the area function area ( θ 1 , θ 2 ) in O ( n 2 + ϵ ) time by traversing all the cells in which the function is of constant complexity. Since there are O ( n ) primary intervals in total by Lemma 3, there are O ( n 2 ) pairs of them. By iterating all the pairs of primary intervals, we can find a global minimum of function area ( θ 1 , θ 2 ) , and the corresponding annulus, which must be a minimum-area parallelogram annulus that encloses P. The total time complexity is bounded by O ( n 4 + ϵ ) . □
Our approach computes the full description of the width and the area functions. Thus, we can indeed find all minimum-area annuli in the same time bound. This solves a bicriteria problem of computing a minimum-width minimum-area annulus that encloses P.
Corollary 2. 
Given a set P of n points in the plane, all minimum-area parallelogram annuli that encloses P can be computed in O ( n 4 + ϵ ) time, where ϵ > 0 denotes an arbitrarily small positive real number. Therefore, a minimum-width minimum-area parallelogram annulus that encloses P can be computed in the same time bound.

6.2. Minimum-Width Annuli

Analogously, by Lemma 16, we can compute the description of width ( θ 1 , θ 2 ) in total O ( n 4 + ϵ ) time, and find all minimum-width annuli. This enables us to compute a minimum-area minimum-width annulus in the same time bound.
In the following, we show that this bicriteria optimization problem can be solved faster. The author in the previous paper [17] showed that a minimum-width parallelogram annulus that encloses P can be computed in O ( n 3 log n ) time. This faster algorithm works with a decision algorithm, which in O ( n 3 ) time tests if there exists an annulus of a given width w 0 that encloses P and finds one if exists; however, it is not guaranteed that this algorithm finds all minimum-width annuli.
Let w * : = min θ 1 , θ 2 [ 0 , π ) width ( θ 1 , θ 2 ) be the minimum width over all parallelogram annuli that encloses P. The value of w * can be computed in O ( n 3 log n ) time by the algorithm mentioned above [17]. We now describe how to find all pairs ( θ 1 , θ 2 ) [ 0 , π ) × [ 0 , π ) such that width ( θ 1 , θ 2 ) = w * , so we can find one minimizing the area among those pairs.
For each p P and θ [ 0 , π ) , recall the function f p ( θ ) , defined in Section 4 to be the distance from p to the boundary of the strip S ( θ ) , that is,
f p ( θ ) = min { σ θ ( χ + ( θ ) , p ) , σ θ ( χ ( θ ) , p ) } .
We make use of the following property of minimum-width annuli.
Lemma 18. 
Let θ 1 , θ 2 [ 0 , π ) be such that width ( θ 1 , θ 2 ) = w * . Then, there exists at least one point q P such that either f q ( θ 1 ) = w * or f q ( θ 2 ) = w * holds.
Proof. 
Let θ 1 , θ 2 [ 0 , π ) be two orientations such that width ( θ 1 , θ 2 ) = w * . Consider the corresponding annulus A = A ( θ 1 , θ 2 ) . The annulus A is a minimum-width annulus that encloses P by definition. Recall that the outer parallelogram R ( θ 1 , θ 2 ) of A is the intersection of two strips S ( θ 1 ) and S ( θ 2 ) .
Suppose to the contrary that the claimed condition does not hold, so we have f p ( θ 1 ) w * and f p ( θ 2 ) w * for all p P . We let P 1 P be the set of points p P such that the distance from the boundary of S ( θ 1 ) is at most w * , that is, f p ( θ 1 ) w * . Analogously, let P 2 P be the set of points p P such that f p ( θ 2 ) w * . Since A encloses all points in P and its width is w * , we have that P 1 P 2 = P . Since we have f p ( θ 1 ) w * and f p ( θ 2 ) w * for all p P , we have strict inequalities
f p ( θ 1 ) < w * for all p P 1
and
f p ( θ 2 ) < w * for all p P 2 .
We let w 1 : = max p P 1 f p ( θ 1 ) and w 2 : = max p P 2 f p ( θ 2 ) . Note that w 1 < w * and w 2 < w * . Now, consider a new annulus A of width max { w 1 , w 2 } whose outer parallelogram is still R ( θ 1 , θ 2 ) . Observe that A still encloses P, while width ( A ) = max { w 1 , w 2 } < w * = width ( A ) . This leads to a contradiction to the assumption that A is a minimum-width annulus that encloses P. Therefore, the lemma follows. □
Now, we describe our algorithm that computes a minimum-area minimum-width annulus that encloses P. After computing w * = min θ 1 , θ 2 width ( θ 1 , θ 2 ) , we find all θ such that f p ( θ ) = w * for each p P . This can be done in O ( n ) time per p P by the following lemma.
Lemma 19. 
For each p P , the function f p is piecewise sinusoidal of frequency 1 and base 0 with O ( n ) breakpoints, and its explicit description can be computed in O ( n ) time, provided that all primary intervals are specified in order.
Proof. 
Suppose that all primary intervals have been specified in order. For each primary interval I, note that f p restricted to I is piecewise sinusoidal of frequency 1 and base 0 with at most O ( 1 ) breakpoints by Lemma 1, since the extreme points χ + ( θ ) and χ ( θ ) are fixed over θ I . Since there are only O ( n ) primary intervals by Lemma 3, the function f p has at most O ( n ) breakpoints. Its full description can be computed by iterating primary intervals in O ( n ) time if we know the ordering of primary intervals, which can be obtained by once computing the convex hull conv ( P ) and scanning its boundary. □
After computing the description of f p in O ( n ) time, we solve the equation f p ( θ ) = w * for each sinusoidal piece of f p . By Lemma 1, the number of solutions is at most two per piece, and they can be found in O ( 1 ) time. We do this for all p P and collect those orientations such that f p ( θ ) = w * for some p P . Let Θ be the set of all those orientations. Note that | Θ | = O ( n 2 ) . By construction and our discussion above, any minimum-width annulus that encloses P is θ -aligned for some θ Θ . To find one with minimum area among all minimum-width annuli, we can just invoke the algorithm described in Theorem 4 for each fixed orientation θ Θ . As the number of orientations in Θ is bounded by O ( n 2 ) , we take O ( | Θ | · n 2 ) = O ( n 4 ) time in the worst case.
Theorem 8. 
Given a set P of n points in the plane, a minimum-area minimum-width parallelogram annulus that encloses P can be computed in O ( n 4 ) time.

7. Discussion

We addressed the minimum-area parallelogram annulus problem, and presented the first algorithms for its several variants, including bicriteria optimization problems considering both width and area.
Our algorithms that compute a minimum-area annulus take time O ( n ) when both side orientations are given and fixed, O ( n 2 log n ) when one orientation is fixed and the other can be chosen arbitrarily, O ( n 2 log n ) when interior angles are given and fixed, and O ( n 4 + ϵ ) when both orientations can be chosen arbitrarily. All the above algorithms are the first nontrivial solutions to the corresponding variant of the problem.
For the bicriteria optimization problems, we considered the minimum-area minimum-width parallelogram annulus problem and the minimum-width minimum-area parallelogram annulus problem in each of the above four cases. Specifically, our algorithms that compute a minimum-area minimum-width annulus take time O ( n ) when both side orientations are given and fixed, O ( n 2 ) when one orientation is fixed and the other can be chosen arbitrarily, O ( n 2 log n ) when interior angles are given and fixed, and O ( n 4 ) when both orientations can be chosen arbitrarily. In addition, our algorithms that compute a minimum-width minimum-area annulus take time O ( n ) when both side orientations are given and fixed, O ( n 2 log n ) when one orientation is fixed and the other can be chosen arbitrarily, O ( n 2 log n ) when interior angles are given and fixed, and O ( n 4 + ϵ ) when both orientations can be chosen arbitrarily. See Table 1 in Section 1 for a summary. These algorithmic results are also the first nontrivial results to the corresponding variant of the problem.
The present results compare with the currently best algorithms for the minimum-width counterpart, while the minimum-area problem requires a bit more time for the general case. This is due to the nature of the objective function: for the minimum-width problem, two side orientations behave more independently as the width of the resulting annulus is determined by the maximum of the distance to two defining strips; for the minimum-area problem, the area function is more involved in both orientations. This results in an efficient decision algorithm for the width problem, while it is not the case for the area problem.

8. Conclusions

We finally conclude the paper by introducing a couple of possible directions of future research.
One natural question is how to improve the running times of our present algorithms, in particular for the most general case, in which both side orientations can be chosen arbitrarily. This question is also related to the computational complexity of the problems. What is the lower bound of the problem of computing an optimal parallelogram annulus in a proper model of computation, such as the algebraic decision tree model?
Another direction of future research is to generalize parallelogram annuli to more general shapes, or to a three-dimensional space.

Funding

This work was supported by Kyonggi University Research Grant 2021.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The author declares no conflict of interest.

References

  1. Megiddo, N. Linear-Time Algorithms for Linear Programming in R3 and Related Problems. SIAM J. Comput. 1983, 12, 759–776. [Google Scholar] [CrossRef]
  2. Aggarwal, A.; Suri, S. Fast algorithm for computing the largest empty rectangle. In Proceedings of the Third Annual Symposium on Computational Geometry (SoCG 1987), Kyoto, Japan, 8–11 June 1987; pp. 278–290. [Google Scholar]
  3. Orlowski, M. A new algorithm for largest empty rectangle problem. Algorithmica 1990, 5, 65–73. [Google Scholar] [CrossRef]
  4. Ebara, H.; Fukuyama, N.; Nakano, H.; Nakanishi, Y. Roundness algorithms using the Voronoi diagrams. In Proceedings of the Abstracts 1st Canadian Conference Computational Geometry (CCCG), Montreal, QC, Canada; 1989; p. 41. [Google Scholar]
  5. Wainstein, A. A non-monotonous placement problem in the plane. In Proceedings of the Software Systems for Solving Optimal Planning Problems; Abstract 9th All-Union Symp. USSR, Symp. 1986; pp. 70–71. [Google Scholar]
  6. Roy, U.; Zhang, X. Establishment of a pair of concentric circles with the minimum radial separation for assessing roundness error. Comput.-Aided Des. 1992, 24, 161–168. [Google Scholar] [CrossRef]
  7. Agarwal, P.; Sharir, M.; Toledo, S. Applications of parametric searching in geometric optimization. J. Algo. 1994, 17, 292–318. [Google Scholar] [CrossRef]
  8. Agarwal, P.; Sharir, M. Efficient randomized algorithms for some geometric optimization problems. Discret. Comput. Geom. 1996, 16, 317–337. [Google Scholar] [CrossRef]
  9. Agarwal, P.K.; Har-Peled, S.; Varadarajan, K.R. Approximating extent measures of points. J. ACM 2004, 51, 606–635. [Google Scholar] [CrossRef]
  10. Chan, T. Approximating the diameter, width, smallest enclosing cylinder, and minimum-width annulus. Int. J. Comput. Geom. Appl. 2002, 12, 67–85. [Google Scholar] [CrossRef]
  11. Abellanas, M.; Hurtado, F.; Icking, C.; Ma, L.; Palop, B.; Ramos, P. Best Fitting Rectangles. In Proceedings of the Euro. Workshop Comput. Geom. (EuroCG 2003), Bonn, Germany, 24–26 March 2003. [Google Scholar]
  12. Gluchshenko, O.N.; Hamacher, H.W.; Tamir, A. An optimal O(nlogn) algorithm for finding an enclosing planar rectilinear annulus of minimum width. Oper. Res. Lett. 2009, 37, 168–170. [Google Scholar] [CrossRef]
  13. Mukherjee, J.; Mahapatra, P.; Karmakar, A.; Das, S. Minimum-width rectangular annulus. Theor. Comput. Sci. 2013, 508, 74–80. [Google Scholar] [CrossRef]
  14. Bae, S.W. Computing a Minimum-Width Square Annulus in Arbitrary Orientation. Theor. Comput. Sci. 2018, 718, 2–13. [Google Scholar] [CrossRef]
  15. Bae, S.W. On the minimum-area rectangular and square annulus problem. Comput. Geom. Theory Appl. 2021, 92, 101697. [Google Scholar] [CrossRef]
  16. Bae, S.W.; Yoon, S.D. Empty Squares in Arbitrary Orientation Among Points. In Proceedings of the 36th Symposium on Computational Geometry (SoCG 2020), Zürich, Switzerland, 22–26 June 2020; Volume 164, LIPIcs. pp. 13:1–13:17. [Google Scholar]
  17. Bae, S.W. Minimum-width double-strip and parallelogram annulus. Theor. Comput. Sci. 2020, 833, 133–146. [Google Scholar] [CrossRef]
  18. Bae, S.W. Minimum-Width Parallelogram Annulus with Given Angles. J. Comput. Sci. Eng. 2021, 15, 78–83. [Google Scholar] [CrossRef]
  19. Lyons, R.G. Sum of Two Sinusoids. 2011. Available online: https://dspguru.com/files/Sum_of_Two_Sinusoids.pdf (accessed on 18 January 2022).
  20. Toussaint, G. Solving geometric problems with the rotating calipers. In Proceedings of the IEEE MELECON, Athens, Greece, 24–26 May 1983. [Google Scholar]
  21. Sharir, M.; Agarwal, P.K. Davenport-Schinzel Sequences and Their Geometric Applications; Cambridge University Press: New York, NY, USA, 1995. [Google Scholar]
  22. Hershberger, J. Finding the upper envelope of n line segments in O(nlogn) time. Inform. Proc. Lett. 1989, 33, 169–174. [Google Scholar] [CrossRef]
  23. de Berg, M.; van Kreveld, M.; Overmars, M.; Schwarzkopf, O. Computationsl Geometry: Alogorithms and Applications, 2nd ed.; Springer: Berlin/Heidelberg, Germany, 2000. [Google Scholar]
  24. Boissonnat, J.D.; Dobrindt, K.T. On-line construction of the upper envelope of triangles and surface patches in three dimensions. Comput. Geom.: Theory Appl. 1996, 5, 303–320. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Annuli of different shapes whose widths are equal to w: (a) a circular annulus, (b) a square annulus, (c) a rectangular annulus, and (d) a parallelogram annulus.
Figure 1. Annuli of different shapes whose widths are equal to w: (a) a circular annulus, (b) a square annulus, (c) a rectangular annulus, and (d) a parallelogram annulus.
Symmetry 14 00359 g001
Figure 2. Illustration to (a) a strip S and its middle line μ ( S ) , and (b) a parallelogram annulus defined by its outer parallelogram R and inner parallelogram R , such that R = S 1 S 2 and R = S 1 S 2 for defining four strips S 1 , S 2 , S 1 , S 2 with μ ( S 1 ) = μ ( S 1 ) and μ ( S 2 ) = μ ( S 2 ) . The arrows depict the width of each shape.
Figure 2. Illustration to (a) a strip S and its middle line μ ( S ) , and (b) a parallelogram annulus defined by its outer parallelogram R and inner parallelogram R , such that R = S 1 S 2 and R = S 1 S 2 for defining four strips S 1 , S 2 , S 1 , S 2 with μ ( S 1 ) = μ ( S 1 ) and μ ( S 2 ) = μ ( S 2 ) . The arrows depict the width of each shape.
Symmetry 14 00359 g002
Figure 3. (a) The θ -aligned strip defined by p and q, and its width σ θ ( p , q ) . (b) The minimum-width θ -aligned strip S ( θ ) enclosing P, and the antipodal pair ( χ + ( θ ) , χ ( θ ) ) of P for orientation θ [ 0 , π ) .
Figure 3. (a) The θ -aligned strip defined by p and q, and its width σ θ ( p , q ) . (b) The minimum-width θ -aligned strip S ( θ ) enclosing P, and the antipodal pair ( χ + ( θ ) , χ ( θ ) ) of P for orientation θ [ 0 , π ) .
Symmetry 14 00359 g003
Figure 4. Illustration to the proof Lemma 4. (a) If the upper horizontal side of the outer parallelogram R of annulus A contains no point in P, then we can slide it downwards until it hits a point in P so that (b) a new annulus A with smaller area is obtained.
Figure 4. Illustration to the proof Lemma 4. (a) If the upper horizontal side of the outer parallelogram R of annulus A contains no point in P, then we can slide it downwards until it hits a point in P so that (b) a new annulus A with smaller area is obtained.
Symmetry 14 00359 g004
Figure 5. Illustrations to Lemma 8. (a) The area area ( θ 1 , θ 2 ) is exactly the perimeter of R ( θ 1 , θ 2 ) multiplied by width ( θ 1 , θ 2 ) minus the area of the four congruent small parallelograms shaded in darker blue. Here, α = θ 2 θ 1 and w = width ( θ 1 , θ 2 ) . (b) The length l 1 of a θ 1 -aligned side of the outer parallelogram R ( θ 1 , θ 2 ) is exactly d / sin ( π α ) = d / sin ( α ) = d / sin ( θ 2 θ 1 ) , where d = σ θ 2 ( χ + ( θ 2 ) , χ ( θ 2 ) ) denotes the width of S ( θ 2 ) .
Figure 5. Illustrations to Lemma 8. (a) The area area ( θ 1 , θ 2 ) is exactly the perimeter of R ( θ 1 , θ 2 ) multiplied by width ( θ 1 , θ 2 ) minus the area of the four congruent small parallelograms shaded in darker blue. Here, α = θ 2 θ 1 and w = width ( θ 1 , θ 2 ) . (b) The length l 1 of a θ 1 -aligned side of the outer parallelogram R ( θ 1 , θ 2 ) is exactly d / sin ( π α ) = d / sin ( α ) = d / sin ( θ 2 θ 1 ) , where d = σ θ 2 ( χ + ( θ 2 ) , χ ( θ 2 ) ) denotes the width of S ( θ 2 ) .
Symmetry 14 00359 g005
Figure 6. Illustration to the geometric dual transform .
Figure 6. Illustration to the geometric dual transform .
Symmetry 14 00359 g006
Table 1. Summary on the currently best algorithms for the parallelogram annulus problem. Each column labeled by ‘W’, ‘A’, ‘AW’, and ‘WA’ stands for ‘minimum-width’, ‘minimum-area’, ‘minimum-area minimum-width’, and ‘minimum-width minimum-area’, respectively. The parameters θ 1 and θ 2 represent the two side orientations of parallelogram annuli. Each entry of the table shows the time complexity of the currently best algorithm in the worst case and its reference. Here, the big-Oh O ( · ) symbol is omitted.
Table 1. Summary on the currently best algorithms for the parallelogram annulus problem. Each column labeled by ‘W’, ‘A’, ‘AW’, and ‘WA’ stands for ‘minimum-width’, ‘minimum-area’, ‘minimum-area minimum-width’, and ‘minimum-width minimum-area’, respectively. The parameters θ 1 and θ 2 represent the two side orientations of parallelogram annuli. Each entry of the table shows the time complexity of the currently best algorithm in the worst case and its reference. Here, the big-Oh O ( · ) symbol is omitted.
WAAWWA
θ 1 , θ 2 fixed n[17]nThm. 1nThm. 2nThm. 2
θ 1 fixed n 2 [17] n 2 log n Thm. 3 n 2 Thm. 4 n 2 log n Coro.1
θ 2 θ 1 fixed n 2 log n [18] n 2 log n Thm. 6 n 2 log n Thm. 5 n 2 log n Thm. 6
θ 1 , θ 2 arbitrary n 3 log n [17] n 4 + ϵ Thm. 7 n 4 Thm. 8 n 4 + ϵ Coro.2
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Bae, S.W. On the Minimum-Area Parallelogram Annulus Problem. Symmetry 2022, 14, 359. https://doi.org/10.3390/sym14020359

AMA Style

Bae SW. On the Minimum-Area Parallelogram Annulus Problem. Symmetry. 2022; 14(2):359. https://doi.org/10.3390/sym14020359

Chicago/Turabian Style

Bae, Sang Won. 2022. "On the Minimum-Area Parallelogram Annulus Problem" Symmetry 14, no. 2: 359. https://doi.org/10.3390/sym14020359

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop