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 , 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  over all , regardless of which objective we take into account: the width, the area, or their combinations.
  4.1. Minimum-Area Annuli
For any , let . Also, let  and  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,  and , and show how to efficiently compute their explicit description, from which we can minimize  and  over .
We start by investigating the width function 
. For each 
, define a function 
 such that 
 is the distance to the boundary of the outer parallelogram 
 of 
. Then, the distance 
 can be represented by the minimum of the distances to the four sides of 
, that is,
        
The width 
 of the annulus 
 is obtained by choosing the maximum of the values of 
 over all 
:
        since 
 should enclose all points of 
P.
Recall from Lemma 3 that there are 
 different antipodal pairs and the orientation domain 
 is decomposed into 
 maximal intervals 
I such that the pair 
 is fixed over all 
. We shall call such an interval 
I a 
primary interval. Pick any primary interval 
I, and consider the functions 
 on 
I for 
. For 
, the corresponding extreme points 
 and 
 are fixed, so 
 is of a constant descriptive complexity. Note that 
 and 
 are just constants, and the other two terms 
 and 
 are piecewise sinusoidal of frequency 1 and base 0 with at most one breakpoint, as discussed in 
Section 2. Since the function 
 is indeed the lower envelope of these four terms, the function 
 over 
I is piecewise sinusoidal with 
 breakpoints. As 
 is the upper envelope of the functions 
 for all 
, we conclude the following.
Lemma 9.  Let  be any primary interval. The width function  over I is piecewise sinusoidal of frequency 1 and base 0 with  breakpoints, where  denotes the inverse Ackermann function. Moreover, each sinusoidal piece of  is concave. The explicit description of  over I can be computed in  time.
 Proof.  From the above discussion, we know that the function  for each  is piecewise sinusoidal of frequency 1 and base 0 with  breakpoints over any primary interval I. In other words,  can be described  partial functions that are sinusoidal of frequency 1 and base 0. Moreover, note that each of these partial functions are from  for some extreme point , and thus it is always nonnegative. This implies that each such partial function of  is indeed concave.
Now, consider the function 
 over 
I. Since 
, it is the upper envelope of 
 sinusoidal partial functions. By Lemma 1, any two sinusoidal functions cross at most once over 
I. Thus, the upper envelope of 
 such sinusoidal curves corresponds to a Davenport–Schinzel sequence of order 3 and can be described by at most 
 sinusoidal pieces [
21]. These pieces are of frequency 1 and base 0, and concave as they are portions of functions 
.
The explicit description of function 
 over 
I can be obtained by computing the upper envelope of the graphs of 
 over 
I. Since the graphs of 
 for all 
 consists of 
 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 
.    □
 Now, we consider the area function 
. Lemma 8 tells us that 
 is represented in terms of the width 
. More specifically, we have
        
In each primary interval 
I, note that the antipodal pair 
 is fixed for any 
. Therefore, between any two consecutive breakpoints of function 
, the function 
 is of the form
        
        where 
 are some constants, by Lemmas 1 and 2.
This implies the following.
Lemma 10.  Let  be any primary interval. The area function  over I is piecewise of the form  for some constants  with at most  breakpoints, and its explicit description can be computed in  time.
 Proof.  Immediate from the above discussion.    □
 For each primary interval I, we can compute the description of function  and thus can minimize it over I. Lemma 10 tells us that the function  consists of  pieces of constant descriptive complexity. Therefore, we can find the minimum  in  time. Since there are  primary intervals by Lemma 3, we spend  time in total to compute the full description of  over  and to find its global minimum . Hence, we conclude the following.
Theorem 3.  Given a set P of n points in the plane and an orientation , a minimum-area ϕ-aligned parallelogram annulus that encloses P can be computed in  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  without loss of generality. Then, the problem is turn to minimize  over .
First, we compute the convex hull  in  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  time the description of function  on I by Lemma 9 and that of function  on I by Lemma 10. As discussed above the minimum of  over  can be computed in  time.
Since there are  antipodal pairs by Lemma 3, the total time to compute a global minimum of  over  is bounded by .    □
 Note that our algorithm indeed compute the full description of the function  to find its minimum. Thus, we can indeed find all the minimum points of  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 , all minimum-area ϕ-aligned parallelogram annuli that encloses P can be computed in  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  over  in  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  time.
We start by a brief review of the 
-time algorithm that finds a minimum-width annulus for a fixed side orientation presented in the previous paper [
17]. Let 
 be the minimum possible width.
The algorithm in [
17] computes 
 as follows: For each 
 and 
, let 
 be the distance from 
p to the boundary of the strip 
, that is,
        
Sort the points in P in the descending order of the distance to the boundary of the strip , that is, in the descending order of the values  for . Let  be the points in P in this order, and let  for each . Let  for . For each , compute the smallest value  such that there exists an orientation  such that  for all . Then, we have .
Note that we have 
 and 
 by definition. The above procedure is proven to correctly compute 
 and computing the values of 
 for all 
 can be done in 
 time in [
17].
Here, our goal is to specify all -aligned annuli of width  that enclose P over all , and find one with minimum area among them. Let  be the smallest index such that . We then have either  or . For , define  to be the -aligned strip such that  and its middle line is equal to the middle line of , that is, . Let  for convenience. Then, observe that all points in  are contained in . In order to specify all -aligned annuli of width , we find all  such that the rest of points Q are contained in . For such an orientation , the annulus defined by , , , and  encloses all points of P and is of width exactly .
For the purpose, we consider the point 
 that determines the width of 
 for each 
. For each 
, let 
 be the set of points 
 that is closer to the boundary line through 
 of 
, and 
. Let 
 be the farthest points from the boundary lines of 
 through 
 and 
, respectively. Then, define 
 to be the minimum value such that the strip 
 contains all points of 
Q, where 
 denotes the strip with 
 and 
. Therefore, we have
        
In the following, we show that the explicit description of the function  for  is of complexity  and can be computed in  time. After specifying the description of , we can find all  such that  and thus there exists a -aligned annulus of width  enclosing P.
Here, as done in [
17], we adopt a geometric dualization ([
23], Chapter 8). The plane 
 in which we have so far discussed things is called the 
primal plane with the 
x- and 
y-axes. We consider another plane 
, 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 
 and the dual plane 
. More specifically, it maps a point 
 into a line 
 and a non-vertical line 
 into a point 
, and vice versa. As a result, we have 
 and 
 for any point 
p and any non-vertical line 
ℓ either in 
 or in 
. 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.) 
. See  
Figure 6 for an illustration.
Back to our problem, we consider the dual of the points in P, that is, the set  of n lines in the dual plane . From the arrangement of these lines in , consider the upper envelope and the lower envelope, denoted by  and , respectively. By an abuse of notation, we also consider these envelopes as two functions of  so that  and  are the v-coordinates in  of points on  and , respectively, at . Define a third function  to be . Observe that  is the v-coordinate of the midpoint of the vertical segment  for each  in the dual plane . Analogously, we regard  as the function itself and its graph  drawn in  at the same time.
By the duality, we observe the correspondence between the above objects in  and the strip  in .
Lemma 11  (Bae [
17])
. For each  with , let . Then, the following hold:- (1)
- The dual of the two bounding lines of  is the two points  and  in . 
- (2)
- The dual  of the middle line  of  is the point  in . 
 Thus, we may say that the boundary of the strip  over all  is dual to , and the middle line  is dual to . It is indeed well known that  correspond to the boundary of  and thus the extreme points of P. From the correspondence between  and , we observe that  forms a chain of  line segments by Lemma 3.
Next, we consider the set  of lines in , and its arrangement . As , all lines in  lie in between  and  in the dual plane . We further add  in the arrangement to result in . Let  be the lower envelope of the portions of lines in  above . Symmetrically,  is defined to be the upper envelope of those in  below . From the duality, we then observe the correspondence between  and .
Lemma 12  (Bae [
17])
. For each  with , let . Then, the duals of the two θ-aligned lines through  and  are the two points  and  in . Lemma 12 implies that we can specify all pairs  over , once we have the substructures  and  in the arrangement . Consequently, the orientation space  is decomposed into maximal intervals in which the pair  is fixed and thus the function  is expressed in a fairly simple form.
To be more precise, take all breakpoints of , , and  and their u-coordinates, say . Let  and decompose the orientation space  into intervals by cutting it at every . We call such intervals of  secondary intervals. Let  be any secondary interval. By our construction and Lemma 12, observe that the four points , , , and  are fixed over all . For each secondary interval , let , , , and  be these fixed points for any .
Lemma 13.  There are at most  secondary intervals, and we can compute them with the corresponding tuple of four points  in  time.
 Proof.  By definition, the endpoints of each secondary interval correspond to breakpoints of , , and . Therefore, in this proof, we analyze the structural complexity of , , and , and an efficient algorithm to compute them.
Recall that  is dual to the middle line  of  by Lemma 11, so Lemma 3 implies that  consists of  line segments that correspond to the antipodal pairs. We can compute  in  time by computing the convex hull  and the extreme points of P by Lemma 11.
In order to bound the complexity of 
 and 
, 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 
 of 
Z is the set of cells of 
 that are intersected by 
ℓ. The Zone Theorem then states that the total number of vertices, edges, and cells in the zone of 
ℓ in 
 is at most 
 [
23]. This also enables us to compute the arrangement 
 in an incremental fashion in total quadratic time.
We start by computing the arrangement  of lines  for all . This takes  time. Then, for each segment e of , we find all intersection points  for all . There are at most  such intersections for each e. Then, we can specify the part of  and  above and below e, respectively, simply by walking along the boundary of cells of  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  we traverse is bounded by  and the time spent for the walk is also bounded by  for each segment e of . Since  consists of  segments, the total complexity to explicitly construct  and  is bounded by .
This also implies the complexity of  and  is , as the number of intersections between each segment e of  and lines in  is at most n. That is, the number of breakpoints of  and  is , so the number of secondary intervals is . The corresponding tuple of four points  for each secondary interval J can be also identified in the same time bound by traversing , , and  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  such that  and minimize the area of annuli among those orientations.
For each secondary interval 
 and any 
, we have
        
		Since the four points 
, 
, 
, and 
 are fixed for any 
, the function 
 over 
 is piecewise sinusoidal of frequency 1 and base 0 with 
 breakpoints by Lemma 1. Hence, all 
 such that 
 form a constant number of disjoint closed subintervals in 
J, and those intervals can be computed in 
 time for each secondary interval 
J. We collect all those subintervals for all secondary intervals 
J in 
 time, denoted by 
, where 
. For each of these subintervals 
 of some secondary interval 
J, we minimize the area of the corresponding 
-aligned annulus whose width is 
. By Lemma 8, the area is represented as follows: for any 
,
        
Note that the terms  and  are constants in the above equation, so  is of the form  for some constants  in such a subinterval . Therefore, for each , we can minimize the area  over  in  time. Since the number m of such subintervals is , it takes another  time to minimize  over all . After identifying an optimal orientation  that minimizes the area , the corresponding annulus can be easily constructed by taking  as the outer parallelogram and  as the width.
We finally conclude the following theorem.
Theorem 4.  Given a set P of n points in the plane and an orientation , a minimum-area minimum-width ϕ-aligned parallelogram annulus that encloses P can be computed in  time.