Manuscript Offprint
arXiv:2611.07100Stacking Stars: Minimum-Area Packing with and without Rotation
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
We study the problem of packing a given set of polygons into a minimum-area convex container, that is, placing them without overlap so as to minimize the area of their convex hull. Every previously known polynomial-time algorithm with a nontrivial approximation guarantee for packing polygons with arbitrary edge orientations required the polygons to be convex. In fact, an algorithm was not even known when every input polygon was a quadrilateral. We obtain such algorithms for the entire class of star-shaped polygons with unrestricted combinatorial complexity. The stars may be just translated or also rotated. In either case, we give an -approximation algorithm, where is the number of stars. Likewise, we get -approximation algorithms for bin and strip packing, assuming that the diameter of the stars is at most some (small) constant.
Previous approximation algorithms for polygon packing focused on convex objects, and the analysis always relied on a density argument, i.e., if the area of the packed objects is at least a fraction of the area of the container, then we have a -approximation. However, star-shaped polygons may need an arbitrarily large area to be packed, even when the total area of the stars approaches 0 and each star has bounded diameter. This phenomenon prevents the use of density arguments.
We instead establish a strong structural property about any packing: Even though the stars can fit together in complicated ways, we can reorganize them into simple stacks, replace these stacks by rectangles, and consider a packing of these rectangles. The rearrangement costs only a factor of , which stems from the number of size groups.
In the translational setting, we use an approximation algorithm for asymmetric TSP to construct stacks and then apply a convex-polygon packing algorithm to their convex hulls. In the rotational setting, we prove an additional structural property: restricting all radii in a stack to have exactly the same orientation costs only a constant factor. The radius is a segment from a point in the kernel to a furthest vertex. It follows that we can rotate all stars so that their radius are horizontal and then apply the translational algorithm.
We complement our algorithms by showing that both the translational and the rotational versions are APX-hard, even for constant complexity stars.
*University of Copenhagen, Denmark. miab@di.ku.dk. †University of Copenhagen, Denmark. jaco@di.ku.dk. ‡Department of Computer Science and Automation, Indian Institute of Science, Bengaluru, India. arindamkhan@iisc.ac.in. §University of Copenhagen, Denmark. jast@di.ku.dk. ¶University of Copenhagen, Denmark. sampson.wong123@gmail.com. ∥University of Copenhagen, Denmark. shya@di.ku.dk. **University of Copenhagen, Denmark. hazh@di.ku.dk.
Contents
1 Introduction 1
1.1 Our Contribution 2
2 Technical overview 3
3 Algorithm for translational packing 11
3.1 Parameters, size groups, and fine types 11
3.2 A structural theorem for fine types 13
3.3 Stacks of bowls 14
3.4 Stacking bowls is (almost) optimal 16
3.5 Computing approximately optimal stacks 18
3.6 Shaving a log-factor 20
3.7 The complete translational algorithm 22
4 Algorithm for rotational packing 23
5 APX-hardness 30
AI Methodology 41
Acknowledgments 42
A Proof of Corollary 2 46
B Proof of Theorem 3 46


Figure 1: Examples of applications involving irregular packing. Left: Garment pieces arranged on fabric, kindly provided by MIRISYS and produced by their automatic nesting software. Right: Waterjet cutting. The image was cropped from a photograph by Steve Brown Photography, licensed under CC BY 3.0.
The bulk of the theoretical work on geometric packing has focused on axis-parallel rectangles; for surveys with hundreds of references, see [CKPT17, vS12, vS15, CW98]. A smaller body of theoretical work considers packing convex polygons with unrestricted edge orientations. This includes algorithms for a constant number of pieces [AH00, TWC06, AC12, PBAA16] and approximation algorithms for arbitrary-sized input sets [AdBK17, AdBK20, AABK23, KS23, AAB 26]. Related results concern geometric knapsack [MW20] and the exact complexity of packing under rotations [AMS24]. For convex objects, classical techniques such as density arguments are effective.
Packing nonconvex polygons remains poorly understood from the viewpoint of polynomial-time approximation algorithms. Early geometric methods capable of handling arbitrary simple polygons were developed by Milenkovic and by Daniels and Milenkovic [Mil99, Mil96, Mil97, MD99, DM97]. They gave exact algorithms for several containment and enclosure problems, as well as algorithms allowing a controlled geometric error, but with running times exponential in the number of pieces. Further exact approaches to irregular nesting have been developed using constraint programming, mixed-integer programming, branch-and-bound and global optimization [CRO03, FL09, AVMT13, Jon14]. Some of these methods solve a discretized version of the geometric problem, whereas methods addressing continuous placements generally apply only to relatively small instances. More recently, Gerlach, Hennies and Kleist [GHK26] initiated the study of online packing of nonconvex orthogonal polygons.
The scarcity of polynomial-time worst-case results stands in sharp contrast to the extensive operations-research literature on irregular cutting and packing. A series of surveys and bibliographies collectively covering hundreds of works documents mathematical models, geometric techniques, exact approaches, heuristics and metaheuristics [DF92, SP92, DD95, BO08, BO09, HT01, LTO 20, GZH 22]. Optimization-based approaches may certify optimality on manageable instances, sometimes only after discretizing the possible placements, whereas heuristic methods are designed to produce high-quality solutions in practice but typically provide no worst-case approximation guar-antees. This research has led to multiple software systems used in practice.¹ The 2024 edition of the CG:SHOP Challenge (Computational Geometry: Solving Hard Optimization Problems) also concerned a packing problem involving irregular and nonconvex objects [FKKS24]. Thus, the theoretical gap does not reflect a lack of interest in irregular packing. Rather, there is a striking contrast between a mature experimental and operations-research literature and the very limited theory of polynomial-time approximation.
Every previously known polynomial-time algorithm with an approximation factor of , i.e., better than what is obtained by packing the convex hulls, for packing an arbitrary number of polygons with arbitrary edge orientations requires the polygons to be convex. In fact, no such algorithm was known even when every input polygon was a quadrilateral, the simplest type of polygon that can be nonconvex. We obtain such algorithms for the entire class of star-shaped polygons, without restricting their combinatorial complexity. Recall that a polygon is said to be star-shaped if there is a point that sees all of , i.e., for every point , we have . The set of points for which this holds is called the kernel of . The radius of is the segment from a fixed point in the kernel to a furthest vertex. In concurrent and independent work, de Oliveira Silva, Dell'Arriva, and Miyazawa [dOSDM26] give asymptotic approximation schemes for translational bin packing of nonconvex polygons from classes that satisfy certain structural conditions. Their main example of such a nonconvex class consists of the homothetic copies of a fixed finite set of star-shaped polygons, so only a fixed finite set of edge orientations occurs.
We focus primarily on the minimum-area convex-container problem (MACC). Given a set of polygons, the goal is to place them without overlap so as to minimize the area of their convex hull [AdBK17, AdBK20] (related online variants require the container to be an axis-parallel rectangle or square [AB21, FH17]). Equivalently, we seek a minimum-area convex container whose shape and the placement of the objects are both chosen by the algorithm. We analyze two variants. In the translational variant, the objects may only be translated. In the rotational variant, they may be both translated and rotated.
1.1 Our Contribution
Our main result is the following.
Theorem 1. There are polynomial-time -approximation algorithms for both translational and rotational packing of star-shaped polygons into a minimum-area convex container.
The translational algorithm is built from simple steps. We first pack the stars into convex mini-containers of total area , and then pack the mini-containers as convex objects using existing methods by Alt, de Berg, and Knauer [AdBK17, AdBK20]. All nonconvex interactions are handled inside the mini-containers; at the global level only convex geometry remains.
To create the mini-containers, the stars are grouped by size and shape, and similar stars are nested into stacks, much like a stack of bowls. The order within a stack is found using an approximation algorithm for the asymmetric traveling salesperson problem [STV20, TV24]. The convex hulls of the stacks serve as the mini-containers.
In the rotational case, we show that we lose only an extra constant factor by rotating the stars in each mini-container so they have horizontal radii. Our algorithm thus rotates the stars to have horizontal radii and then applies the translational algorithm.
The constants in our analysis are large, mainly due to the very fine grouping of the stars and pessimistic choices of scaling factors. However, the idea of building stacks of similar stars is natural,
¹Examples of prominent commercial systems include SigmaNEST, Hypertherm ProNest, Lantek Expert, Autodesk Inventor Nesting, and MIRISYS. Representative open-source systems include Deepnest and SVGnest.
and we believe that it could also be the basis for practical heuristics, which would be interesting to evaluate experimentally.
The mini-container approach extends to other packing problems for which algorithms are known for convex polygons. In bin packing, the goal is to pack the objects into a minimum number of unit-square bins; in strip packing, the objects are packed into a unit-width strip, and the goal is to minimize the used length of the strip. Rearranging the packing produced in Theorem 1 gives the following. The details are in Section A.
Corollary 2. There exists a constant such that, if every polygon has diameter at most , there are polynomial-time -approximation algorithms for both translational and rotational bin packing and strip packing of star-shaped polygons.
For stars of comparable size, the algorithms in fact give -approximations, that is, if the convex hulls of all input stars have areas within a constant factor of each other (in particular, if all stars are identical). The logarithmic factor is inherent to any algorithm that groups stars by size before packing them into convex mini-containers, as we show in Section 2. The grouping step itself does not use that the polygons are stars, and we formalize it as a reduction for general polygons, proved in Section B. We believe it can be useful for designing algorithms for other classes of polygons.
Theorem 3. For some constants , if there exists a polynomial-time -approximation translational bin packing algorithm for polygons of diameter at most and convex hull area at least , then there exists a polynomial-time -approximation algorithm for translational packing of polygons into a minimum-area convex container.
Finally, we complement the algorithmic results by proving APX-hardness, even for stars of comparable sizes and constant complexity.
Theorem 4. The translational and rotational variants of minimum-area convex-container packing are APX-hard. In the instances produced by our reduction, each star has at most 17 vertices and the convex hulls are fat and have diameters within a constant factor of each other.
The next section gives an overview of the techniques behind these results.
2 Technical overview
Our overall approach is to partition the stars and to pack each set of the partition into convex mini-container. We will then use the techniques of Alt, de Berg, and Knauer [AdBK17, AdBK20] to pack the mini-containers. In particular, we use the following result as a black box.
Theorem 5 (Theorem 2.2 from [AdBK17, AdBK20]). There exists an -time algorithm for packing a given set of convex polygons of total complexity into an axis-aligned rectangle such that
where denotes area, is a constant, and and are the maximum horizontal and vertical spans of , respectively.

Figure 2: a) Duality between packing copies of a plus-shaped polygon and axis-aligned squares. b) a packing of many L-shapes as a stack in a constant-sized container.
The goal is to obtain a packing whose convex hull is , where OPT is the area of a minimum convex container for all the stars. To this end, we need two properties: (1) the total area of the mini-containers is , and (2) for each mini-container, its extend in every direction is proportional to that of each of the stars that it contains. The latter requirement ensures the bound in Theorem 5 in the coordinate system where the longest radius is horizontal.
Stacks. For now, consider a much simpler setting: we are given stars that are all copies of the same star . One might ask: For which does packing the convex hulls of the , instead of the stars themselves, give a good approximation?
The answer is surprisingly nuanced. If is convex, the answer is of course “always”. But there are also polygons of zero area for which the answer is yes. Consider the polygon given by the union of the two segments and , forming a plus. For two copies of , no matter how they are arranged, their origins never have -distance less than 1. One can, in fact, replace by the square : any packing of copies of is also a packing of copies of , and vice versa; see Figure 2 a). The convex hull of has twice the area of , so packing the convex hulls of copies of is, up to constants, as good as packing the copies of .
If we instead take to be the union of the two segments and , forming an , the answer is very different. For any , one can pack copies of into the convex container by forming a stack of nested copies of (see Figure 2 b)), whereas packing the convex hulls requires a container of area .
Our main structural insight is that this stacking behavior is the only structure that prevents us from replacing stars by their convex hulls, at a loss of .
Size groups and fine types. For arbitrary instances we do not have the luxury of congruent polygons, but we still want to treat the input polygons as somewhat congruent objects. For this, fix for every star a point in its kernel, its reference point. The radius of is the segment from to a farthest point of (ties are broken arbitrarily), and is its length. The width of is the largest distance of a point of from the line through the radius, and is a point attaining it;
see Figure 3. Let and be the maximum radius length and width of any input star.

Figure 3: A star with reference point , radius of length , and width attained at .
We partition the input stars into size groups , which contains all stars with radius and width of one dyadic scale, i.e., stars such that and . Polygons with or are packed via their convex hulls: each of these hulls has area , so together they need area . We are left with polygons in size groups, where the size group of has scales and .
We partition the size groups further into fine types. The orientation of a star is the direction of its radius, directed away from . We split into intervals of length , and the fine type of a star is the interval containing its orientation, together with the side of the radius on which lies; the precise parameters are fixed in Section 3.1. Polygons of one fine type are similar enough that the stacks observed above make sense.
We would now like to pack every fine type independently. The problem is that there might be up to nonempty fine types, and bounding the area of each of them independently against OPT could result in a -approximation. Luckily, this is not the case.
A structural theorem for fine types. Consider one fixed size group. Our first main technical contribution is the following theorem.
Theorem 6. Let be a set of star-shaped polygons in one size group with scales , and let be a packing of in a convex container . Then can be partitioned into a disjoint union of
such that in every part , all the stars are of the same fine type, and, without changing the placement inherited from , are contained in a (not necessarily axis-aligned) rectangle of dimensions . Moreover,
where is the area of .
We sketch the proof here; Section 3.2 proves the slightly stronger Theorem 10. First, split the polygons of the size group by orientation into -radian classes; there are constantly many of these. Within one class, all radii can be considered to be nearly horizontal, and we may take to be a parallelogram with vertical sides of length and horizontal span . Cut into vertical strips

Figure 4: Left: The enclosing parallelogram is cut into vertical strips of width ; one strip is shown. Two test lines are placed to its right. The reference points and radii assigned to one pair of intervals are shown. Right: The occupied interval pairs form a monotone sequence in .
of width , and consider the stars with reference point in a fixed strip. Each of their radii has length more than and is nearly horizontal, so it crosses two vertical test lines placed to the right of the strip; see Figure 4. Partition each test line into intervals of length , and assign each star the pair of intervals crossed by its radius. Two radii ordered one way on and the other way on would cross in between, which is impossible since every radius lies inside its star. Hence the occupied pairs are monotone in both coordinates, and there are at most of them rather than .
The stars assigned the same pair and of the same fine type form one part . For stars assigned to the same pair , their reference points lie in a strip of width , and their radii pass through the same two intervals of length at distance , so their orientations differ by and they belong to constantly many fine types. They also fit, in place, into a rectangle of dimensions . There are strips, each with occupied pairs, each contributing area , so the rectangles over all parts have total area .
Stacks of bowls. By Theorem 6 it suffices to pack each fine type separately. As alluded to above, polygons of one fine type are “congruent enough” that we expect them to admit a nice stack. To find such a stack, we first align the stars of one fine type with each other, as follows. Fix a fine type of a size group with scales and , and let be a direction, depending only on the fine type, that is nearly perpendicular to all its radii. For a star , extend the two segments and beyond and until both endpoints are at height exactly above in direction . The value is common for all stars of the same fine type. We call these two extended segments the arms of , and the polygon obtained by adding the arms to the bowl of ; see Figure 5. A bowl (i) extends at most a distance below in direction , (ii) extends exactly a distance above , and (iii) satisfies
for a universal constant ; see Lemma 11 for the detailed proof. By Equation (1), packing the bowls instead of the stars costs at most a factor , and any packing of bowls contains a valid packing of the stars. This is where star-shapedness of our pieces is crucial: star-shapedness ensures that scaling with fixed results in a superset of the original polygon P.
Stacks of bowls are (informally) defined as follows: a sequence of bowls forms a stack if the reference point of each lies in the triangle spanned by the arms of . Section 3.3 gives the formal definition, phrased via separators.

Figure 5: A star (left) and its bowl (right). The arms of the bowl are the extensions of and to height in direction . The bowl sits inside a copy of scaled by the constant .
Stacking bowls is (almost) optimal. It turns out that packing bowls arbitrarily and packing bowls into stacks are essentially the same.
Theorem 7. Let be a set of star-shaped polygons of one fine type, and let be a packing of in a convex container . The bowls of the stars in can be packed into strict stacks in mini-containers with total area .
We sketch the proof. The details are in Section 3.4; see in particular Lemma 12. We first replace the stars of a part by their bowls: Scale the packing of by the factor and place each bowl at the scaled copy of ; see Figure 6. Each bowl will lie inside its scaled star by Equation (1), so the bowls do not overlap and fit into the scaled copy of . Now take two bowls of the part with higher than in direction . We will show that, if were outside the triangle spanned by the arms of , an arm of would cross an arm of , which is impossible. Hence the bowls of , ordered along , form a strict stack. The scaled rectangles , of dimensions , are therefore mini-containers holding strict stacks, and by Theorem 6 their total area is .

Figure 6: Left: A part with the points marked. Right: The scaled stars and the packing of the corresponding bowls, which form a stack.
Computing approximately optimal stacks. Stacking bowls is, algorithmically, very easy; see Section 3.5 for the details. Fix a fine type, and for two bowls let be the smallest amount by which has to be placed higher than , in direction , so that form a stack; see Figure 7. Translations orthogonal to are free, so is a single number, and . The height of a stack with a fixed order is the sum of over consecutive bowls, and we need to choose the order minimizing it. This is a asymmetric metric TSP instance for which a constant-factor approximation [STV20, TV24] gives a stack of height within a constant factor of the minimum; see Lemma 19.

Figure 7: Two stacked bowls and the height needed to place above . The cost itself is not a metric, but is.
Finally, the tall stack can be split into short stacks. We therefore cut the stack every along and enclose each piece in a rectangle of dimensions ; see Lemma 17. These rectangles are the mini-containers. Their total area will be . Moreover, each mini-container has spans within a constant factor of the spans of a star inside it.
Algorithm summary. All the ingredients are now in place for the -approximation. The algorithm sets aside the small stars, splits the remaining polygons into their fine types, turns them into bowls, stacks the bowls, and cuts the stacks into mini-containers. Then Theorem 5 packs the mini-containers together with the convex hulls of the small stars into a rectangle. See Section 3.7 for the details.
In the case of strip and bin packing, we get Corollary 2 by slicing this rectangle along vertical and horizontal lines. We then rearrange the slices, each with its mini-containers, in the strip or the bins. See Section A for the details.
Shaving a log-factor. The factor comes from packing the size groups independently of each other. Some loss here is unavoidable, as we will show at the end of this paragraph, but we can show that the total loss is actually only . Recall that is the size group with scales and . For a fixed , the stars in the groups with have comparable convex hull areas, , but very different shapes, ranging from long and thin ( small) to short and fat ( large). A charging argument exploits both facts to show that for every ,
Summing over the values of gives , which is exactly the bound we need on the total area of the mini-containers.
The charging argument works as follows. Give every star a core, which is a small copy of the triangle sitting above the middle of the radius; see Figure 8. A core has area , so for all cores have the same area, and we can charge the area of a packing to the cores it contains. Two things make this work. Cores of stars from different groups with cannot overlap: a short and fat star whose core covers a point of a long and thin star's core would have to cross the thin star's radius; see Lemma 22 for the details. And within one group, all stars whose cores overlap the core of fit into one rectangle of dimensions , because their radii cannot cross that of ; see Lemma 23 for the details. So, a packing of all groups with contains as many disjoint cores as the groups do separately, and each group can be packed into a constant times as many rectangles as it has disjoint cores. The details are included in Section 3.6.

Figure 8: The core of a star is the gray triangle.
The in the approximation factor is inherent to our approach. Consider, for , copies of a plus, scaled by ; see Figure 9. For a single scale we saw earlier that pluses behave like squares, and packing their convex hulls is fine. Across scales, however, the pluses of scale nest into the gaps between the pluses of scale , so all pluses fit into a container of area , whereas each scale on its own needs area . Any algorithm that packs size groups into separate convex mini-containers thus loses on this instance, and any mini-container based -approximation has to mix size groups within a mini-container.

Figure 9: Pluses of different scales nested into a region of constant area. Packing each scale into its own convex mini-containers requires area per scale.
Rotations. In the rotational variant the algorithm chooses the orientation of each star, so fine types are no longer a property of the input. We get around this with a preprocessing step, after which we simply apply our translation-only algorithm. For a size group , let be obtained by rotating every star so that its radius is horizontal. We show in Corollary 35 that
where and are the optimum values under translation, and under translation and rotation respectively. This allows us to simply run the translational algorithm on ; see Figure 10.


Figure 10: Left: A stack of one fine type in its rectangle. Right: Rotating all radii to the same orientation only scales the rectangle by a constant factor.
The lower bound is trivial, since a translational packing of is a rotational packing of . For the upper bound, take an optimal rotational packing of , freeze the chosen rotations, and apply Theorems 6 and 7 to the rotated stars (Lemma 28). This gives stacks of bowls in rectangles of dimensions with total area , in which the radii are already within an angle of of each other. It remains to make them exactly parallel without blowing up the rectangles. We show that, with the direction of the th radius in stack order,
because the arms of consecutive bowls cannot cross, which lets us charge each change of direction to the height of the stack, which is ; see Lemma 29. We then straighten the stack bowl by bowl, each time rotating the whole suffix above the current bowl so that the next radius becomes parallel, and shifting it to restore the stack (Lemma 32). The total displacement is across the stack and along it, so the rectangles only grow by a constant factor; see Theorem 33.
APX-hardness. We reduce from MAX-VERTEX-DISJOINT-PATH-COVER. Here we are given a directed graph on with in- and out-degree at most 2, and the goal is to find a set of vertex-disjoint paths covering all vertices and using as many edges as possible. Equivalently, we want an ordering of the vertices maximizing the number of consecutive pairs that are edges. Bosboom, Demaine, Demaine, Hesterberg, Manurangsi and Yodpinyanee [BDD 17] showed that it is NP-hard to distinguish graphs with a Hamiltonian path, that is, a path cover with edges, from graphs where every path cover has fewer than edges, for (restated as Lemma 37).
We create a star for every vertex , designed so that any near-optimal packing is a stack; see Figure 11. Two long arms give the overall shape of a wedge, which makes the stars stackable. Below the arms is a spike whose angle encodes , and between the arms are up to two slits whose angles encode the out-neighbours of . The spike of fits into a slit of if and only if . If it does not fit, stacking on top of costs about the height of the spike extra (Lemma 42). A single container piece with even longer arms forces all to form a stack between its arms in any near-optimal packing (Lemmas 39 to 41). If this stack is a Hamiltonian path, that is, every spike sits in a slit of the star directly below, then the stack fits inside the convex hull of (Lemma 38). Otherwise it sticks out above by an amount proportional to the number of unmatched pairs. We show, for some constant , that it is NP-hard to distinguish instances where everything fits inside the convex hull of from instances that need a factor more area; see Theorem 43.

Figure 11: Left: A graph with in- and out-degree at most 2 and a Hamiltonian path. Right: The corresponding stack of the pieces inside the convex hull of the container piece .
3 Algorithm for translational packing
In this section, we present the details of our approximation for packing stars translationally into a minimum-area convex container.
-
In Section 3.1, we define some parameters of stars and show how to partition them into size groups and fine types.
-
In Section 3.2, we prove a structural theorem for the stars in one size group, which splits a size group into fine types without increasing the cost by more than a constant factor.
-
In Section 3.3, we show how to transform the original stars into bowls.
-
In Section 3.4, we prove that packing bowls of each fine type into a stack would only increase the optimal cost by at most a constant factor.
-
In Section 3.5, we show how to approximately compute the optimal stacks.
-
In Section 3.6, we show that packing each size group separately would only introduce an factor.
-
In Section 3.7, we put everything together to prove our main theorem for translational packing.
Throughout this section, all placements use translations only. Changes of coordinates only serve for simplicity of analysis and do not really rotate the stars. We write for the infimum area of a convex container admitting a packing of , and for the infimum total area of one or more convex containers admitting a packing of . By definition, .
3.1 Parameters, size groups, and fine types
For a star-shaped polygon , recall that the kernel of is the set of points in from which all points in are visible. It is well-known that the kernel is convex. We choose an arbitrary reference point deterministically in the kernel, for instance, the lexicographically maximal kernel vertex. Let be an arbitrary farthest point in from , and let be the radius length, i.e., the distance between and :
Let be the unit vector along the orientation of , i.e., the direction of the radius. Let be an arbitrary point in that maximizes the distance from the radius line , and let
be the width of . Let be the unit vector perpendicular to pointing toward . See Figure 12 for an illustration.
Note that and . Without loss of generality, we assume that lies to the left of the directed radius . Let denote the triangle .

Figure 12: Left: The reference point, radius, and transverse width of a star . Right: The black vectors are the direction of the radius and the perpendicular for the star from the left. The red vectors are the vectors defining the fine type of .
Size groups. Let and . We partition the stars into size groups for integers according to their radius lengths and widths. Each consists of stars with and , where and . We will pack each group separately.
Lemma 8. For a set of stars , .
Proof. The convex hull of a star of width contains a disk of radius . So in any packing, the container must have spans of in all directions and a span of in one direction.
Without loss of generality, we only consider the groups where . All other stars can be packed individually, since the total area of them is .
Fine types. From now on, we only consider one size group with scales and . We are going to further partition the stars into fine types according to their orientations.
Define as the number of fine types in the size group and
as the angle range of each fine type. Let be the set of equally distributed unit vectors.
We create a fine type for each vector , and let be the unit vector obtained by rotating by 90 degrees clockwise. For each star , we associate it with the unique fine type such that the clockwise angular displacement from toward is in . In other words,
See Figure 12 (right) for an illustration.
The orientations of the stars of each fine type form an angular interval of length . Consequently, an interval shorter than intersects with at most two fine types.
3.2 A structural theorem for fine types
We start with an elementary enclosure lemma.
Lemma 9. Every compact convex set of positive area is contained in a vertical parallelogram (that is, a parallelogram with two vertical sides) with .
Proof. Choose a leftmost point and a rightmost point of . Apply a vertical shear making horizontal, and let be the axis-aligned bounding rectangle of the sheared set. If its width and height are and respectively, the triangles with common base and apices at a highest and a lowest point have disjoint interiors and total area . They lie in the sheared convex set. The inverse shear maps to the required parallelogram and preserves area.
The next theorem captures the main structural insight for the original stars. This is a stronger version of Theorem 6 in the sense that it records more local information about the reference points. This is needed later when we transform the stars into bowls.
Theorem 10. Let be a set of stars in one size group with scales , and let be a packing of in a convex container . For any and , there exists a partition
such that each part only contains stars of one fine type and we have the following properties (under the placement inherited from ):
(i) In each , the reference points span at most along and along .
(ii) All stars in lie in a rectangle of dimensions , whose sides are parallel to and respectively. Moreover,
Proof. We first divide the stars into groups such that in each group, the orientations of the stars span at most . Consider one such group. Choose coordinates such that the clockwise angular displacement from each orientation to the positive -axis is in . Let be the enclosing vertical parallelogram of from Lemma 9. Let be the horizontal span of and be the vertical side length of . Then . Moreover, we have and .
Then, we partition into vertical strips of width , and consider each strip separately. For all stars whose reference points lie in a strip , since and , their radii must cross the two vertical lines
Now we partition each of and into intervals of lengths at most . We say a pair is occupied if there exists a star whose radius crosses the -th interval on and the -th interval on , ordered from bottom to top. Notice that if and , then and cannot be both occupied, since otherwise the radii must intersect. So, there are at most occupied pairs in each vertical strip. See Figure 13 for an illustration.
Consider each occupied pair . Note that the slopes of the radii of the stars corresponding to differ by at most . Since , these stars belong to at most 2 fine types. Therefore, we can partition all stars in into subsets such that the stars in


Figure 13: Left: The enclosing parallelogram is cut into vertical strips of width ; one strip is shown. Two test lines are placed to its right. The reference points and radii assigned to one pair of intervals are shown. Right: The occupied interval pairs form a monotone sequence in .
each correspond to the same occupied pair in the same vertical strip and share the same fine type .
Consider each . Consider any two stars . Write and . Since and are in the same vertical strip,
Let be the point on the line such that . Then
since and correspond to the same occupied pair and and are at most far from . Recall that the angle between and the positive -axis is at most . So, by Equations (3) and (4), we have
Recall that the angle from to is . So, by Equations (4) and (5), we have
which proves (i). Combining (i) with that all stars in share the same fine type , it is straightforward to see that the dimensions of the bounding rectangle with sides parallel to and are . The total area is .
3.3 Stacks of bowls
We are now going to pack each fine type separately. We focus on one fine type with orthogonal unit vectors and . The first step is to transform each star into a bowl which has useful properties.
Bowls. Let be orthogonal unit vectors. We say that a (possibly weakly simple) star-shaped polygon Q is a bowl aligned along with height h > 0 if it has a specified kernel point and specified points such that
We call the two segments and the two finite arms of Q. Note that a bowl is also a star; since also follow their original definition, e.g., is one of the farthest points from .
Separators and stacks. Given such a bowl , we define its separator to be the union of these two arms and the two outward rays perpendicular to :
We say that a packing of bowls with the same directions and height forms a stack if their separators are pairwise disjoint. We say that the packing forms a strict stack if, in addition, each separator does not intersect with any other bowl. See Figure 14 for an illustration.

Figure 14: Bowls and their separators. The finite arms belong to the bowls; the two tails extend indefinitely perpendicular to the alignment direction. Disjoint separators define the stack order. The left shows a strict stack, and the right shows a non-strict stack.
Without loss of generality, we assume that is upward and is right. Then a separator is a simple curve with two horizontal ray tails at the same height, which divides the plane into an upper region and a lower region. So, in a stack, we can order these disjoint separators (and hence the bowls) vertically.
Lemma 11. For every star of fine type , there is a bowl with directions and height , such that
for some universal constant . Moreover,
Proof. Consider a star of fine type . Note that for some . By Equation (2) and , , we have
(8) and
For every , write , where and . Similarly, . Let . We extend the rays and to points and such that
and let the bowl be . See Figure 15 for an illustration. By Equations (8) and (9), both extensions are bounded by a universal constant factor. It is straightforward to check that and match their definitions.

Figure 15: The star P and the bowl .
In coordinates with axes , let and . Then we have
Equation (7) follows from Equation (2) and , , .
Equation (6) shows that replacing the stars with bowls will only increase the optimum by at most a constant factor . To see this, we can take the optimal packing of -times-larger input stars, which has area . Then a feasible packing of the bowls follows by matching the reference points with the corresponding scaled stars. Therefore, it suffices to compute a constant approximate packing for the bowls. Then, to obtain a packing of the original stars, we place each at the location of , sharing the same reference point.
3.4 Stacking bowls is (almost) optimal
We now show that the structural packing from Theorem 10 can be used to obtain a stack packing of bowls. Let be the constant from Equation (6), and apply Theorem 10 to a packing of the scaled stars . For each part with bounding rectangle , replace every scaled star by its corresponding bowl , keeping the reference point fixed. Since , this gives a feasible packing of inside . See Figure 6 for an illustration.
It remains to show that the bowls in each rectangle form a stack. Fix a part , and let be its common fine type, with scales and . All bowls in therefore share the directions and . Moreover, Theorem 10 guarantees that their reference points are close together. We use this property in the next lemma to show that their separators are pairwise disjoint, and hence that the bowls form a stack.
Lemma 12. Let be the constant in Lemma 11. Apply Theorem 10 to a packing of in a convex container . For every , the bowls
admit a stack packing in a rectangle of dimensions , with sides parallel to their common directions , such that
Proof. Fix any . Let be defined in Theorem 10. For each , place the bowl such that . By Equation (6), we have , so the bowls are feasible and lie in . The area bound follows from Theorem 10(ii). The only remaining thing is to show that the induced packing for forms a stack.
Now we use the coordinate system along and . For any point , we use to denote its coordinates. Consider any pair of bowls and and translate to the origin. Write where without loss of generality. By Theorem 10(i), and . Recall that by Lemma 11, so is below the line .
Claim 13. is in the triangle .
Proof. We will show that if is to the left of , then intersects with , and similarly, if is to the right of , then intersects with .
Recall that are defined in Equation (7). If is to the left of , then . The two rays and intersect at where
so this is an intersection of the two segments.
If is to the right of , then . The two rays and intersect at where
so this is an intersection of the two segments.
By Claim 13, if , then is above Separator(). Furthermore, the two arms of can only leave the triangle through to avoid intersections. So the two separators are disjoint. If , then and . By the feasibility, the two separators must also be (weakly) disjoint. Since any pair of separators are disjoint, the bowls form a stack.
In summary, we show that there exists a packing of the bowls as stacks into small rectangles with a total area comparable to the optimal packing of the original stars into multiple convex containers.
Corollary 14. Let be a set of stars in the same size group and let . Then there exists a packing of into rectangles of total area , each containing a stack of bowls and having dimensions with sides parallel to , where is the common fine type of the stars in it.
Proof. Consider the optimal packing of the original stars into multiple convex containers. For each container , we apply Theorem 10 and Lemma 12 to and the stars in it.
Let denote the infimum area of packing all bowls of type into a convex container, under the constraint that they must form a stack. We have the following lemma.
Lemma 15. For a set of stars in the same size group,
Proof. Consider the packing of in Corollary 14. For each fine type , all the rectangles that contain bowls of this type have dimensions along the same directions . We put them one above another along . If there are rectangles, then they fit in an large rectangle. It is straightforward to see that the bowls in this large rectangle still form a stack, and the area of it is at most a constant times the total area of the initial rectangles. Summing over the types, the total area is still .
3.5 Computing approximately optimal stacks
In this subsection, we consider bowls from one fine type . Note that the separators of the bowls in a stack are disjoint, so they have a natural order along . Therefore, to pack a set of bowls into a stack, the key part is to compute the order. We model this as an asymmetric TSP problem.
Recall that the bowls have the same heights . Without loss of generality, we assume is upward. We start with a simple lower bound of the area of a stack.
Lemma 16. If a stack has vertical span , then its minimum convex container has area .
Proof. Let be a star in the stack. The span of along is at least , and the angle between and is at most by Equation (2). So the horizontal span of the stack is .
The next lemma shows that a tall stack can be split into short strict stacks with bounded total area.
Lemma 17. In polynomial time, a stack of vertical span can be partitioned into strict stacks, each fitting in an rectangle with sides parallel to and .
Proof. Partition the reference points into horizontal strips of height . For each strip, consider the bowls whose reference points are in this strip. The vertical span of them is . Since they form a stack, their separators are disjoint. Then these reference points must all be in the triangle where is the lowest bowl, which means the horizontal span of these bowls is . So they fit in an rectangle.
Now we prove they form a strict stack. Let and be two bowls in the same strip such that Separator() is (weakly) below Separator(). Clearly, cannot intersect with Separator() since the bowls have the same heights. On the other hand, is in the triangle . Since is the reference point of , for any point , cannot intersect with both and . So does not intersect with Separator().
We remark that the total area of the rectangles in Lemma 17 is , although the area of the convex hull of the original stack may be much larger. This will be important for our algorithm. By Lemmas 16 and 17, when considering stack packing, we only need to care about the height of the stack.
The next corollary shows that we can restrict our attention to strict stacks at only a constant-factor increase in height.
Corollary 18. If some bowls admit a stack of vertical span , then they admit a strict stack of vertical span .
Proof. We simply put the rectangles in Lemma 17 one above another along .
For two bowls , we write if we place them in a strict stack with below . Note that if , then the Separator separates from . So, when we construct a strict stack, we only need to make sure that each adjacent pair of bowls do not intersect.
Lemma 19. In polynomial time, a bowl class can be packed into rectangles with sides parallel to and and total area .
Proof. Suppose the optimal stack packing of has vertical span . By Corollary 18, also admits a strict stack of vertical span . We only need to approximate the minimum height of the strict stack.
Let . For , let be the minimum increase of the height (i.e. the minimum value of ) when placing . In particular, let . Notice that for any strict stack of three bowls , removing gives us a strict stack of the other two bowls . So . In other words, is a directed metric.
Since the bowls admit a strict stack of vertical span , by the definition of c, they admit a Hamiltonian path of length at most . So they admit a Hamiltonian cycle of length at most . We apply the constant-factor approximation for metric asymmetric TSP in [STV20], then delete the most expensive edge. This gives us a Hamiltonian path of length in polynomial time.
From the Hamiltonian path, it is straightforward to get a strict stack of of vertical span . Then we partition them into rectangles by Lemma 17. The total area of the rectangles is . On the other hand, by Lemma 16.
We summarize our conclusion for packing one size group in the following lemma.
Lemma 20. For a set of stars in the same size group, one can compute in polynomial time a packing into rectangular mini-containers of total area . Each mini-container has dimensions with sides parallel to , where is the common fine type of all stars in this mini-container.
Proof. We first partition the stars into fine types and compute the corresponding bowls by Lemma 11. Then we compute the mini-containers for each bowl class separately by Lemma 19. The total area of the mini-containers is by Lemma 15. Finally, we replace each bowl with the original star at the same reference point.
For a direction , let denote the span of in that direction. The following corollary shows that the span of a mini-container in any direction is comparable to any star in it.
Corollary 21. Every mini-container B in Lemma 20 satisfies
for every direction z and every star P in B.
Proof. The mini-container has dimensions along . The star has dimensions along . The angle between and ( and ) is less than .
3.6 Shaving a log-factor
Recall that there are size groups, and we pack the stars of each size group separately. This would naturally introduce an approximation ratio of .
In this subsection, we show that packing the size groups separately increases the total area by only an factor. The key observation concerns stars with much larger radii but much smaller widths than others. We associate a triangular core with each star and show that the cores of such stars must be disjoint in any feasible packing. These disjoint cores give an area lower bound that allows us to divide the size groups into classes. This improves the final approximation ratio to .
Cores. Let , and . We define the core of , denoted by , as the triangle . In other words, it is a 0.1-scale copy of located “above” the middle point of the radius. See Figure 16 for an illustration.

Figure 16: The core of a star P is the gray triangle .
By definition, we have
and
It is straightforward to check that, for any point ,
Consider the coordinates along and centered at . We further have
The next lemma shows that the cores of stars with very different shapes must be disjoint.
Lemma 22. Let be two stars such that and . In any packing, .
Proof. Suppose for contradiction that . Consider the coordinates along and centered at . Let be an arbitrary point in . By Equation (12), and . Since , any point in is at a distance at most from . So, is in the strip . Since cut this strip at and , lies in due to connectivity of .
On the other hand, consider the disk centered at with radius . Since , intersects . By Equation (11), . So intersects , which is a contradiction.
The next lemma proves an upper bound of packing stars in the same size group with intersecting cores. Note that the lower bound of packing each single core is .
Lemma 23. Let be a star in the size group with scales and . There is an rectangle that contains all stars in the same group such that .
Proof. Consider the coordinates along and centered at . Consider one such . Let be an arbitrary point in . Let be the angle between the two radius lines and . For each radius line, by Equation (12), the distance from is at most , and the perpendicular projection of lies at distance at least from both () and (). See Figure 17.

Figure 17: The point p and the two radius lines.
The two radii and are part of the stars, so they cannot intersect. Therefore, we have , so . Consider any point . Since , and . Combining these with and Equation (12) proves the lemma.
Combining the above lemmas, we can prove that, for all the stars with similar sizes, packing each group separately will only increase the cost by a constant factor.
Lemma 24. Let be a set of stars such that the sizes for all differ by at most a constant factor. Then,
Proof. Recall that each size group has and . We divide all size groups into classes, such that each class ( , ) consists of the groups where and . Since all stars have similar sizes , there are only a constant number of classes that have non-empty size groups. So it suffices to look at one such class .
Consider the optimal packing of . Let denote the size of the maximum independent set of the cores of (that is, the maximum number of cores that are disjoint). For each class , by Lemma 22, the cores of stars from different size groups are disjoint. So
Since each core has an area of by Equation (10) and lies in the convex hull of the star, we have
On the other hand, by Lemma 23, we have
Combining Equations (13) to (15) proves the lemma.
We conclude this subsection with the following corollary.
Corollary 25. For a set of stars ,
Proof. Recall that stars with sizes smaller than can be packed individually at a cost of . Then it simply follows from Lemma 24.
3.7 The complete translational algorithm
Finally, we put everything together to get an -approximate algorithm. We first give a lemma that follows easily from our previous results.
Lemma 26. For a set of stars , in polynomial time, we can compute a packing of into a set of convex mini-containers of total area . Every mini-container satisfies
for every direction and every star that contains.
Proof. We pack all stars with or individually into its convex hull. The total area of them is by Lemma 8. For these mini-containers, Equation (16) trivially holds.
The remaining stars are partitioned into size groups. We pack each size group separately by Lemma 20. The total area is
By Corollary 25, this equals . For these mini-containers, Equation (16) follows from Corollary 21.
We can now bound the approximation factor of our algorithm.
Theorem 27. For a set of stars , in polynomial time, we can compute a packing of into a rectangle of area .
Proof. We use the packing of Lemma 26 into convex mini-containers of total area . Then we apply Theorem 5 to these mini-containers in the coordinate system where the longest radius (whose length is ) is horizontal.
Let and be the maximum horizontal and vertical spans of these mini-containers respectively. It only remains to show that . By Equation (16), and there exists a star whose vertical span is . Since the minimum convex container of must contain the longest radius, which is a horizontal segment of length , and the star , we have .
4 Algorithm for rotational packing
The preceding section gives an algorithm for packing stars by translations: it replaces stars by bowls, arranges bowls in stacks, and packs the resulting rectangular mini-containers. Let us now consider the setting, in which we are also allowed both translations and rotations in order to pack stars. We will show that, within each size group, requiring all radius vectors to point in the same direction increases the minimum container area by only a constant factor. We can then rotate the input stars to this direction and apply the translational algorithm of Section 3, including the stack-packing procedure of Lemma 19.
Fix a size group from the preceding section. As before, and denote the maximum input radius and width. The scales of the group are and . The normalized bowls have height . For a star , let denote its reference point and its distinguished radius endpoint, as in the preceding section. Its directed radius vector is . We choose these reference points and endpoints once and carry them along under all transformations. Constants below are independent of the number of pieces and the ratio .
We first apply the previous construction to a packing whose chosen rotations are held fixed. It gives small rectangles containing stacks whose radius directions are already close. The remaining task is to make these directions equal. After a preliminary division into locally separated blocks, we take every third bowl and enclose it between its two neighboring separators. We process the resulting enclosures from bottom to top, rotating all remaining enclosures about the current reference point at each step. The sum of the successive angle changes bounds the total upward translation, and hence the increase in the rectangle's height.
Lemma 28. Fix a constant with . Given a rotational packing of one size group into a convex container , the stars can be replaced by containing bowls and packed, using translations of their fixed orientations, into rectangular mini-containers of dimensions and total area . Within each mini-container, let denote the common bowl-alignment direction and let denote the perpendicular direction pointing towards the distinguished radius. The mini-container may be replaced by a rectangle whose sides are parallel to and , with respective lengths and . These rectangles can all be enlarged to common dimensions , for a fixed constant , while retaining the total-area bound. We have:
-
the bowls have common height , alignment direction , and pairwise disjoint separators;
-
their radii are and their widths are ;
-
their directed radius angles lie in an interval of length at most ;
-
each bowl contains its corresponding star, with the same reference point and distinguished radius ray.
Moreover, no point of one bowl lies in the interior of another bowl in the same mini-container. This includes the two added radial arms, which may have zero width. All hidden constants are universal after fixing .
Proof. Fix the orientations of the stars in the given packing and regard it as a translational instance, keeping the chosen reference points and radius witnesses; fine types are computed from these orientations. Apply Corollary 14. It returns the bowls of Lemma 11, packed into rectangles of dimensions , each with sides parallel to the directions of the common fine type of its bowls, and of total area . Each rectangle holds a stack of bowls of one fine type; the stack property gives height and pairwise disjoint separators. Each
contains together with its reference point and distinguished radius ray, and has radius and width , by Lemma 11. This gives items 1, 2 and 4, but with the angular span of item 3 replaced by that of a fine type, which we now reduce.
By Equation (2), the directed radius angles of the stars of one fine type lie in an interval of length . Split this interval into consecutive subintervals of length at most , and split each stack into the at most subsequences of bowls whose angles fall into the same subinterval, each in its inherited order. A subsequence of a stack is again a stack: its separators are among the original ones and hence remain pairwise disjoint, its bowls still have height and alignment direction , and it lies in the rectangle of the original stack. We place each subsequence, by a translation, in its own copy of that rectangle and call the result a mini-container. This multiplies the number of rectangles, and hence their total area, by at most , so the total area is still . Within each mini-container the directed radius angles now lie in an interval of length at most , which is item 3.
In the proof of Lemma 12 each is placed inside the dilated star , and these are polygons with pairwise disjoint interiors; hence no point of lies in the interior of for , and this persists under the translations into the mini-containers, including the passage to subsequences.
Finally, Corollary 14 allows all rectangles to be enlarged to common dimensions while keeping the area estimate; this applies verbatim to the copies above. The constants depend on but not on or on the number of stars.
It therefore suffices to straighten the containing bowls.
Coordinates and separators. Fix one mini-container with bowls . Choose coordinates with horizontal axis along the common type direction and vertical axis along the alignment direction , so that and . Signed rotations are measured in these coordinates, which may reverse the orientation of the ambient plane. Write , , and . Let be the separator defined in the preceding section: the chain , together with the horizontal rays extending outward from and . We call these rays its tails and the segments its finite arms. The separator divides the plane into an upper and a lower component. Write Above() and Below() for their closures, with the upper component containing points of sufficiently large vertical coordinate. Order the bowls by their separators from bottom to top. Their tails have heights , so their reference-point heights follow this order as well. Below the tails, the upper component is precisely the triangle . Define the normalized horizontal coordinates and of the two arm endpoints by and . Using the estimates in Equation (7) and , we obtain
In particular, , a margin we will use repeatedly. Throughout, bowls and separators may touch along their boundaries, and the stack order between separators is understood weakly at such contacts, as in the preceding section; what makes contacts harmless is the nonpenetration property of Lemma 28, which keeps the zero-width arms of one bowl out of the interior of every other. Note that two separators can coincide only if their bowls share the reference point and both arm directions, and then, since the two bowls have disjoint interiors and are both star-shaped about the common point, at most one of them has interior points outside the common closed triangle ; we place that bowl below the other in the stack. Finally, let be the angle that makes with the positive horizontal axis. All these angles lie in a short common interval, and we take real representatives there, so that differences of angles never wrap around. The next lemma bounds the sum of successive angle changes. This will bound the total displacement in the rotation procedure.

Figure 18: A bowl in the coordinates of its mini-container, with its separator (two finite arms and two horizontal tails at height ), the triangle , and the normalized arm coordinates of Equation (17).

Figure 19: Two consecutive separators of a stack. Since lies in the triangle , the right arm of must exit through the top chord at or left of ; a steeper arm (dashed) would cross the right tail of . This bounds by .
Lemma 29. For the bowls in stack order,
The same bound holds for every subsequence in the inherited order.
Proof. For each , put . If , the point lies in the triangle , because it is above and below its tails. At height , the right arm of must lie no farther right than ; otherwise it would cross the right tail of . Therefore . Since lies in the triangle, we also have . It follows that . For the last bound on the positive part is automatic from Equation (17). Thus, in both cases, .
The reference points lie in a rectangle of height , so and the sum of the positive changes of is . The negative changes have the same total up to . Consequently, .
Since , the radius angle is . For every ,
The mean value theorem and the bound on the total variation of give
A subsequence has no greater total variation: each of its jumps is bounded by the sum of the original consecutive jumps it skips, and these skipped ranges are disjoint.
Although the separators of a stack are disjoint, a separator may still pass through the interior of another bowl. This is inconvenient for rotations: moving a separator does not automatically preserve the position of a bowl lying across it. We therefore split the stack into a constant number of consecutive blocks in which every separator avoids the interior of every other bowl. This lets us enclose individual bowls between neighboring separators and move these enclosures as rigid objects.
Lemma 30. A stack in a mini-container can be partitioned into consecutive blocks such that, within each block, no separator meets the interior of another bowl. Boundary contacts are allowed.
Proof. Partition the reference points by the height intervals ; this gives consecutive blocks. Fix in one block, so . In the -frame of the fine type, every point of has -coordinate within of (a point at signed distances along and across the radius line has -coordinate with , , ). Hence the interiors of and lie below height , where both pairs of tails are, and the finite arms are excluded by Lemma 28.
Enclosing every third bowl. We now enclose each retained bowl between its neighboring separators. These bounded enclosures can be moved as rigid objects, carrying the bowls inside them.
Lemma 31. Apart from at most two end bowls, a locally separated block can be partitioned into three subsequences. In each subsequence, every bowl lies in a bounded polygonal region, called its enclosure. Consecutive enclosures are separated by two of the original separators, and all enclosures lie in an rectangle.
Proof. Index the block by and set aside its first and last bowls, which are packed individually at cost . Let be a vertical strip of width containing all bowls and all finite arms, and for put
Inside each separator is a simple arc joining the two walls, so is a bounded polygon of horizontal span and vertical span .
We claim . Its arms lie on , which lies weakly between and . The rest of is the star , whose interior is connected and by Lemma 30 meets neither nor , so it lies on one side of each; since is between the two separators, that side is the right one unless itself lies on or . In that degenerate case, contains the two segments and in the directions and ; if were on the wrong side of, say, , both segments would lie on , forcing , and then would be the bowl with interior points outside the common triangle, which the tie-break convention places below , not above. The same argument applies to .
Finally, group the indices by residue modulo 3. Between and lie and , so the enclosures of a class are pairwise disjoint, separated by two original separators, and in stack order.

Figure 20: The cone of admissible translation directions for a separator. Along , from the left tail to the right tail, the functional is strictly increasing, with increments of at least 100r on the two arms; hence every line parallel to meets exactly once.
Each enclosure is now moved as a rigid object, carrying its bowl with it. Thus feasibility reduces to keeping the enclosures disjoint. At a step of the procedure, the prefix consists of the enclosures already aligned, and the suffix consists of all remaining enclosures in their original order.
Lemma 32. Let be one subsequence of enclosures from Lemma 31, relabeled in their inherited order. For each , let be the reference point of its bowl and let be its original radius angle, as above. Let be a common interval of length at most containing these angles. For any prescribed , the enclosures can be repacked in an rectangle with disjoint interiors, in their original order, and with all radius vectors pointing in direction .
Proof. Write ; then . By Equation (17), and . Fix with midpoint , and . For let and , so that the lines parallel to are the level sets of . Along a separator, from the left tail to the right tail, increases by on the left arm, by on the right arm, and strictly along both tails (Figure 20). Hence every line parallel to meets each separator exactly once, and it meets the separators in stack order. A common rotation through an angle changes by at most , which is below 100r for an arm () and below 1 for a unit tail direction once ; so the same conclusions hold after any such rotation. Let
an open cone with , since the parameter of a sum is a weighted average.
The invariant. For , and we maintain . It holds for the original family, and after any common translation and common rotation by at most : a line in a direction of meets the upper bounding separator of no later than the lower bounding separator of , so it cannot pass through before , as would require. The invariant forbids a common interior point, since an open disk in contains two points whose difference is a small vector of .
The step. Put and for . At step the prefix is already aligned and fixed; rotate the suffix about its current reference point through , so that bowl now points at , and then translate the suffix by with and a universal constant fixed below (Figure 21). Since the suffix has only undergone common rigid motions, its diameter is still that of the original rectangle, at most , so the rotation displaces each of its points by at most . Writing the net displacement of a

Figure 21: One step of the sweep, for three enclosures of a residue class: the prefix (orange, already aligned, radius at ) and the suffix (green). is the angle between the arm of bowl and the common direction. Light green is and . The step rotates the suffix about through and translates it by , which moves every suffix point by a vector of . Afterwards bowl points at and the prefix is unchanged.
point as with and , its direction parameter satisfies , which is below 50 for large. Thus every point of the suffix moves by a vector of (if nothing moves).
The invariant survives the step. Within the prefix nothing changed. Within the suffix the motion is common, and its total rotation since the original configuration is , of absolute value at most as both angles lie in . For in the prefix and in the suffix with new position , we have ; if were in (or zero), then , against the invariant before the step. Hence the prefix and the moved suffix are disjoint, and after all steps the enclosures have pairwise disjoint interiors, in their original order, with every radius at .
Size. By Lemma 29 applied to the subsequence, . The translations total vertically and horizontally, and the rotations displace any point by at most in total. So the final configuration lies in an rectangle.
Theorem 33. For a mini-container from Lemma 28, all its stars can be rotationally repacked into a rectangle with side lengths and . Their directed radii then point in one common direction, and the side of length is parallel to that direction.
Proof. Lemma 30 splits the mini-container into locally separated blocks. Fix a target angle that occurs among the bowls; it lies in the common angle interval of every block. In each block apply Lemma 31 and then Lemma 32 to each of the three classes with this , and rotate each of the end bowls to individually. This yields rectangles of span along and along , each holding bowls whose radii all point in direction ; the rectangles are placed independently.
Since is the radius angle of some bowl, in Equation (17) gives . A rectangle with spans along and along therefore has span in direction and span perpendicular to it, using . Rebox each packing in a rectangle aligned with of these dimensions, stack the boxes perpendicular to , and replace each bowl by the star it contains. The result is a rectangle of side lengths along and across the common radius direction, as claimed.
We conclude with the main theorem from this section, which enables our algorithm for the rotational case.
Theorem 34. For one size group , every rotational packing into a convex container yields, for some integer , a rotational packing into rectangles with the following properties:
-
each rectangle has dimensions ;
-
all directed distinguished radii point horizontally to the right in every rectangle;
-
after enlarging the rectangles to common dimensions for a fixed universal constant , their total area is .
Consequently, the entire group can be packed into a single convex container of area with all directed radii horizontal.
Proof. Lemma 28 gives mini-containers of common dimensions with . By Theorem 33, the stars of each mini-container can be repacked into a rectangle with side along their common radius direction and side across it, for a universal constant . Rotate each such packing as a whole until its radii point to the right; its rectangle is then axis-parallel, of width and height . Enlarge all rectangles to and stack them vertically. The result has width , height and area ; as , this is the claim.
Corollary 35. Let be obtained by rotating each input star so that its radius vector points in the positive horizontal direction. Write and for the minimum area of a convex container when translations alone, or translations and rotations, respectively, are allowed. Then
for a universal constant . The common per-group translational algorithm from the preceding section consequently applies to with only constant additional loss.
Proof. holds as any translational packing of is a rotational packing of . Apply Theorem 34 to rotational packings approaching the infimum. In the resulting packings every star is a translate of its copy in , which gives the displayed bound. The algorithm then runs the translational pipeline of Lemmas 11 and 19 and Corollary 14 on ; the enclosures of this section serve only the existence proof.
We now obtain the rotational analogue of Lemma 26.
Lemma 36. For a set of stars , in polynomial time, we can compute a rotation of each star and a packing of the rotated stars into a set of convex mini-containers of total area . Every mini-container satisfies
for every direction and every star that contains, where is taken in its rotated position.
Proof. Rotate each star so that its distinguished radius points horizontally to the right, and let denote the resulting family. Rotations preserve and , so the size groups do not change.
As in Lemma 26, pack each star satisfying or individually into the convex hull of its rotated copy. These hulls have total area by Lemma 8; taking a convex hull does not change any span.
For every remaining size group , run Lemma 20 on . The resulting mini-containers have total area ; indeed, the bound of that corollary is no larger than a constant multiple of the minimum area of a single convex container. Their span guarantee is precisely Corollary 21.
It remains to bound the sum over the size groups. Consider an optimal rotational packing of , and let denote the stars with the orientations used in this packing. Write for the corresponding stars of . By Corollary 35,
Here the second bound holds because a translational packing of is also a rotational packing of . The proof of Lemma 24 in fact gives the stronger single-container estimate
To see this directly, for each class considered in that proof, Equations (13) to (15) yield . There are such classes for the remaining stars, and for each one. Consequently the total area of the computed mini-containers is
Adding the singleton mini-containers proves the claim.
The rotational part of Theorem 1 now follows by applying Theorem 5 to these mini-containers. All stars, including the singleton ones, have horizontal distinguished radii. Thus each rotated star has horizontal span and vertical span , and Lemma 36 gives the same bounds for every mini-container. In particular, by Lemma 8, whose proof is rotation invariant. The convex packing algorithm therefore returns a rectangle of area .
5 APX-hardness
In this section, we show that star packing with constant-complexity pieces is APX hard, with or without rotations.
The problem MAX-VERTEX-DISJOINT-PATH-COVER. We will reduce from a problem called MAX-VERTEX-DISJOINT-PATH-COVER. In the problem MAX-VERTEX-DISJOINT-PATH-COVER(d), we are given a directed graph where the in- and out-degree of each vertex is at most d. We want to determine the largest number of edges in a path cover. A path cover is a set of disjoint, directed paths in G (possibly including single-vertex paths) such that every vertex of G is contained in a path.
When has a Hamiltonian path, then there is a path cover with edges, which is the most possible. So we can view this problem as an approximation version of HAMILTONIAN-PATH. If has no edges, then the largest path cover is of size 0.
Bosboom, Demaine, Demaine, Hesterberg, Manurangsi and Yodpinyanee [BDD 17] show that, for some small , MAX-VERTEX-DISJOINT-PATH-COVER is NP-hard to approximate to within a factor:
Lemma 37. ([BDD 17], Theorem 2) For any , the following is true: for any language in NP, there is a polynomial-time function that takes as input an instance of and outputs an instance of MAX-VERTEX-DISJOINT-PATH-COVER(2). If is a “yes” instance, then has a path cover with edges. If is a “no” instance, then the largest path cover in has at most .
Reduction from MAX-DISJOINT-PATH-COVER to star packing. Our reduction encodes a directed graph using star-shaped polygons. Each vertex is represented by a polygon with a narrow spike and up to two slits. The spike of one polygon fits into a slit of another precisely when the corresponding directed edge exists. Thus, a directed path can be represented by a tightly nested stack of polygons.
The main difficulty is to ensure that an arbitrary packing cannot avoid this encoding. We introduce an additional container polygon and show that every sufficiently good packing must place the vertex polygons inside it, in a common nesting order and with nearly fixed orientations. Consecutive polygons corresponding to a missing edge must then be separated by an additional vertical distance. Consequently, a graph with no nearly complete path cover requires a container of strictly larger area.
Now we give the formal reduction. We are given a graph , where each vertex has in- and out-degree at most 2. We want to construct a set of star shaped pieces of constant complexity. Label the vertices in by . Let and be the outgoing edges from vertex (if they exist), with . For each vertex , we create one star with at most 17 vertices. This is illustrated in Figures 22 and 23. In addition to , the stars depend on two parameters and , which will be determined later.
We also make one outer container called , which is the 7-gon illustrated in Figure 24. This depends on a parameter , which we will set .
The construction has two different scales. The long arms control the overall nesting of the polygons, while the much smaller spikes and slits encode the edges of the graph. The parameter controls the angular separation between different spike and slit positions. The parameter determines the length of the arms and makes rotations or incorrect nesting expensive. Finally, the outer polygon forces the vertex polygons to occupy a common stack in any packing whose area is close to .
Lemma 38. If has a Hamiltonian path (equivalently, a path cover with edges), then all the can be packed inside the convex hull of , even if rotations are not allowed.
Proof. An example is shown in Figure 25. If there is an edge from to , then the spike on fits into one of the slits in . So a Hamiltonian path in can be used to construct a stack of the , where each piece has height above the one below it. The total height of the stack, from the bottom of the spike on the lowest to the top of the highest, is . The slopes of the inner walls of are such that one of the pieces fits exactly inside , with the base of the spike of exactly units above the base of .

Figure 22: The piece has a spike, with angle determined by , and up to 2 slits corresponding the edges outgoing from . If has fewer outgoing edges, then has fewer slits.

Figure 23: Close up of the core of . The width of the spike and the slits is determined by . The star point for is illustrated.

Figure 24: The container piece . The container is symmetric under reflection across a vertical line.

Figure 25: Left: a graph with max in/out-degree 2, and a marked Hamiltonian path. Right: the corresponding stacking inside the container piece.

Figure 26: Left: a graph where the optimal disjoint path cover has edges. The path cover consists of the edge from 1 to 3 and a 0-length path containing vertex 2. Right: the pieces and that we construct packed according to this path cover. Piece is stacked inside , but there is no edge from 2 to 1, so the spike of does not fit into one of the slits in . For sufficiently chosen and , we will show that that stacking a pair of pieces like this requires us to use extra height proportional to the length of a spike.
We now want to show that, if the best disjoint path cover in has edges, then any packing of the and has cost at least times the cost of the packing described above. The idea is illustrated in Figure 26.
We now fix some packing, and orient it so that is oriented as in Figure 24. The area of the convex hull of is:
We write , where is some constant to be determined later. We suppose , so we have . We want to show that, if the packing fits into a convex container of area larger than by at most small small constant factor, then we can find a good disjoint path cover for . We start by proving a few lemmas.
Note that allowing rotations could, in principle, let a spike enter a slit that does not encode an edge of the graph. Our first step rules out this possibility for large rotations. The long arms of each are almost as tall as the outer polygon . Rotating substantially forces part of it to extend beyond , increasing the area of their convex hull. Hence a packing of sufficiently small area must keep every close to its intended orientation.
Lemma 39. If the convex hull of the packing has area less than , then no is rotated by more than (radians, in either direction) compared to the orientation in Figure 22.
Proof. Suppose is rotated by compared to the orientation in Figure 22. If then there are points in that have coordinates differing by at least , as illustrated in Figure 27 (top).
When , then Figure 27 (bottoms) shows that there are a pair of points with vertical distance .
If is rotated by , then we can flip the picture and get the same bounds on the height difference, only depending on instead of .


Figure 27: Finding pairs of points with large vertical distance when is rotated.

Figure 28: If two points on have vertical difference , then there is either a point above the top of by at least , below the bottom of by at least and left of the middle of , or below the bottom of by at least and right of the middle of . So the convex hull of and contains one of the triangles shown.
Now has height . So if is rotated by more than but less than , then it sticks out above or below by at least . This means that one of the 3 types of triangles shown in Figure 28 is contained in the convex hull of and . Such a triangle has area at least .
The remaining case is when is rotated by close to relative to . The only cases to analyze are the ones shown in Figure 29, which clearly exceed the allowed area.
Each piece has a room, which is the large concave region of that piece. We say that a piece is stacked inside of if the star point of is inside of the room of .
Lemma 40. If the convex hull of the packing has area less than , then all of the are stacked inside of .
Proof. It is sufficient to consider a single piece and . Suppose that is not stacked inside . Since Lemma 39 applies, the only way for the convex hulls of and to overlap significantly is if is stacked inside of , as in Figure 30.
We translate so that the top left and right vertices of the room of touch the outer walls of , as in the figure. The inner walls of have slopes and , while the outer walls of have slopes and . So out of the two red triangles marked in the figure, one of them has a slope difference of at least between the two long edges. The height of this triangle is close to (for simplicity, say at least ), so it has area at least:
Since , this is at least , as required.
We can now show that the pieces form a stack.
Lemma 41. If the convex hull of the packing has area at most , then there is an ordering of such that is stacked inside for every .


Figure 29: If is close to being completely upside-down, then and have a convex hull with area much larger than .

Figure 30: Trying to stack outside of . This incurs an extra cost depending on .
Proof. Lemmas 39 and 40 apply. We create a directed graph with vertices with a directed edge from to if is stacked inside . The orientations of the are close to the ones shown in Figure 22, so if is stacked inside then the star point of must be above the star point of . It follows that is acyclic. To prove the claim, we just need to show that is complete.
Consider two pieces and . If neither is stacked inside the other, then the two triangles shown in Figure 31 do not overlap. Each of these triangles has area . Since , this would mean that the convex hull of the packing exceeds .
Recall that we orient the packing so that has the same orientation as in Figure 24. We set . Consider two consecutive polygons in the nesting order. If , the spike of can enter a matching slit of , allowing the two polygons to nest closely. If , we show that must be placed substantially higher. There are two cases. If the relative rotation is small, the spike cannot penetrate deeply into a nonmatching slit because their angles are separated. If the relative rotation is larger, the long arms themselves force a large vertical separation. In either case, a missing edge incurs an additional height of . We can now perform the key calculation:
Lemma 42. Suppose the conditions of Lemma 41 are satisfied. If is stacked inside , then the star point of has height at least above the star point of . If additionally there is no edge from to in , then the star point of has height at least above the star point of .
Proof. The conditions of Lemma 39 are satisfied, so all the have orientation close to the one shown in Figure 22. If is stacked inside , the lowest possible height it can have is when the spike on fits exactly into one of the slits in , as in Figure 25. If is oriented as in Figure 22, then the star point of has height above that of in this case. Note that the horizontal offset between the star points of and is at most the vertical offset (so at most here).

Figure 31: One of or must be stacked in the other, otherwise the triangles shown have area larger than .
Since can be rotated by compared to the orientation in Figure 22, the star point of has height at least above that of (note ).
This type of stacking only exists when there is an edge from to in . So suppose that there is no such edge. The difference in angle between edges of different possible slits in an is at least:
which is at least . First, suppose that the orientations of and differ by an angle less than . Since there is no edge from to , there is no slit in that corresponds to the spike on , and the walls of spike on differ in angle from the walls of any slit in by an angle of at least . If we orient as in Figure 22, then the spike in sticks into a slit in by a vertical distance of at most , as illustrated in Figure 32. Since , we have , so this is at most .
So the star point of has a height of above that of , where is the angle between the orientations of and . So this is at least .
We changed the orientation of by at most here, so we need to change it back, and we get a height difference of at least .
Now consider the case that the orientation of differs from that of by more than . Again, we orient and so that it is as in Figure 22. In this case, the star point of is at least above the star point of , as illustrated in Figure 33. Since , this is at least . Even after orienting back to its original orientation, this is much larger than the bound claim by the lemma.
We can now prove that constant complexity star packing is APX-hard:
Theorem 43. For some , it is NP-hard to approximate the star packing to within () factor, even if the stars are polygons with at most 17 vertices.

Figure 32: If and differ in angle by , then the spike in can't go far into a non-matching slit in .

Figure 33: If is rotated by more than compared to , then its star point must be above the red line shown in the figure.
Proof. Let be a constant small enough for Lemma 37 to apply. We reduce from a MAX-VERTEX-DISJOINT-PATH-COVER instance , with , produced by Lemma 37. The construction is as above, with . If has a Hamiltonian path, then Lemma 38 shows that we can pack the pieces in a convex container of area , where is the area of and satisfies .
Write . Write . We suppose that n is large enough that .
Suppose now that there exists a packing with convex hull of area at most . Since , Lemma 41 applies, and there is an ordering of such that is stacked in for each . We construct a path cover of as follows: for each , we add the edge from to to the cover if it exists. This gives a set of disjoint paths in . For any vertex not covered, we add the zero-length path containing only that vertex. Let be the number of edges in this disjoint path cover.
By applying Lemma 42 to each pair and and summing, the difference in height between the star point of and the star point of is at least . So the difference in height between the star point of and a point on the top opening of is at least . The height difference between a point on the top of and the star point in is at least , even if is rotated slightly (see Lemma 39).
The height of is . So some sticks out above the top of by at least:
If there is a point in some a distance of above the top of , then the convex hull of the packing has area at least . Since we know the area is at most , we have . So:
For the last step, note that we are assuming n is large.
If does not have a Hamiltonian path, then Lemma 37 says that the best path of cover has at most edges. In this case, , so:
By the above, this is incompatible with the area of the convex hull being smaller than . So if the area of the convex container is at most , then we can conclude that there exists a Hamiltonian path. So it is NP hard to approximate star packing to within a factor of . Since does not depend on , this establishes the claim.
AI Methodology
ChatGPT was used to obtain some of the crucial ideas. The model suggested the argument with two test lines in the proof of Theorem 10, but in the context of packing wedges, i.e., degenerate weakly simple polygons that are the union of two line segments sharing an endpoint. The authors managed to generalize the argument to arbitrary star-shaped polygons and use it to design an -approximation algorithm for stars. The model also suggested a version of the argument that our algorithm gives an -approximation rather than an -approximation, even though we have dyadic size scale combinations of (Corollary 25). Finally, the model suggested the argument for the rotational algorithm and suggested to obtain APX-hardness by reducing from MAX-DISJOINT-PATH-COVER, but the actual reduction was found by the authors. All ideas from the model have been carefully studied, adjusted and rewritten by the authors. ChatGPT and Claude have also been used as writing aids.
Acknowledgements
M. Abrahamsen, J. Conradi, J. Stade, and H. Zhang are supported by the Independent Research Fund Denmark, grant 1054-00032B, and by the Carlsberg Foundation, grant CF24-1929. A. Khan is partly supported by Google India Research Award, Ittiam Systems CSR grant, the Walmart Center for Tech Excellence at IISc (CSR Grant WMGT-23-0001), and SERB Core Research Grant (CRG/2022/001176) on “Optimization under Intractability and Uncertainty”. S. Wong is supported by the European Union’s Marie Skłodowska-Curie Actions Postdoctoral Fellowship, grant number 101146276. S. Yan is supported by VILLUM Foundation Grant 54451, Basic Algorithms Research Copenhagen (BARC).
References
[AAB+26] Anders Aamand, Mikkel Abrahamsen, Simon Bartlmae, Arindam Khan, Linda Kleist, and Csaba D. Tóth. Online geometric packing through online TSP scheduling. CoRR, abs/2607.22179, 2026. arXiv:2607.22179, doi:10.48550/ARXIV.2607.22179.
[AABK23] Anders Aamand, Mikkel Abrahamsen, Lorenzo Beretta, and Linda Kleist. Online sorting and translational packing of convex polygons. In Symposium on Discrete Algorithms (SODA 2023), pages 1806–1833, 2023. doi:10.1137/1.9781611977554.CH69.
[AB21] Mikkel Abrahamsen and Lorenzo Beretta. Online packing to minimize area or perimeter. In Symposium on Computational Geometry (SoCG 2021), pages 6:1–6:15, 2021. doi:10.4230/LIPICS.SOCG.2021.6.
[AC12] Hee-Kap Ahn and Otfried Cheong. Aligning two convex figures to minimize area or perimeter. Algorithmica, 62(1–2):464–479, 2012. doi:10.1007/s00453-010-9466-1.
[AdBK17] Helmut Alt, Mark de Berg, and Christian Knauer. Approximating minimum-area rectangular and convex containers for packing convex polygons. Journal on Computational Geometry, 8(1):1–10, 2017. doi:10.20382/jocg.v8i1a1.
[AdBK20] Helmut Alt, Mark de Berg, and Christian Knauer. Corrigendum to: Approximating minimum-area rectangular and convex containers for packing convex polygons. JoCG, 11(1):653–655, 2020. doi:10.20382/jocg.v11i1a26.
[AH00] Helmut Alt and Ferran Hurtado. Packing convex polygons into rectangular boxes. In Japanese Conference on Discrete and Computational Geometry (JCDCG 2000), pages 67–80, 2000. doi:10.1007/3-540-47738-1_5.
[AMS24] Mikkel Abrahamsen, Tillmann Miltzow, and Nadja Seiferth. Framework for 3R-completeness of two-dimensional packing problems. TheoreticS, 3, 2024. doi:10.46298/THEORETICS.24.11.
[AVMT13] R. Alvarez-Valdes, A. Martinez, and J. M. Tamarit. A branch & bound algorithm for cutting and packing irregularly shaped pieces. International Journal of Production Economics, 145(2):463–477, 2013. doi:10.1016/j.ijpe.2013.04.007.
[BDD+17] Jeffrey Bosboom, Erik D. Demaine, Martin L. Demaine, Adam Hesterberg, Pasin Manurangsi, and Anak Yodpinyanee. Even edge-matching and jigsaw puzzles are really hard. J. Inf. Process., 25:682–694, 2017. doi:10.2197/IPSJJIP.25.682.
[BO08] Julia Bennell and Jose Oliveira. The geometry of nesting problems: A tutorial. European Journal of Operational Research, 184(2):397–415, 2008. doi:10.1016/j.ejor.2006.11.038.
[BO09] Julia Bennell and Jose Oliveira. A tutorial in irregular shape packing problems. Journal of the Operational Research Society, 60:S93–S105, 2009. doi:10.1057/jors.2008.169.
[CKPT17] Henrik I. Christensen, Arindam Khan, Sebastian Pokutta, and Prasad Tetali. Approximation and online algorithms for multidimensional bin packing: A survey. Computer Science Review, 24:63–79, 2017. doi:10.1016/j.cosrev.2016.12.001.
[CRO03] Maria Antónia Carravilla, Cristina Ribeiro, and José Fernando Oliveira. Solving nesting problems with non-convex polygons by constraint logic programming. International Transactions in Operational Research, 10(6):651–663, 2003. doi:10.1111/1475-3995.00434.
[CW98] János Csirik and Gerhard J. Woeginger. On-line packing and covering problems. In Amos Fiat and Gerhard J. Woeginger, editors, Online Algorithms: The State of the Art, pages 147–177. Springer, 1998. doi:10.1007/BFb0029568.
[DD95] Kathryn A. Dowsland and William B. Dowsland. Solution approaches to irregular nesting problems. European Journal of Operational Research, 84(3):506–521, 1995. Cutting and Packing. doi:10.1016/0377-2217(95)00019-M.
[DF92] Harald Dyckhoff and Ute Finke. Cutting and packing in production and distribution: A typology and bibliography. Physica Heidelberg, 1992. doi:10.1007/978-3-642-58165-6.
[DM97] Karen L. Daniels and Victor Milenkovic. Multiple translational containment. part I: an approximate algorithm. Algorithmica, 19(1/2):148–182, 1997. doi:10.1007/PL00014415.
[dOSDM26] Lucas de Oliveira Silva, Elisa Dell'Arriva, and Flávio Keidi Miyazawa. Geometric bin packing beyond convexity: Approximation schemes without augmentation. arXiv:2611.04829, 2026. doi:10.48550/arXiv.2611.04829.
[FH17] Sándor P. Fekete and Hella-Franziska Hoffmann. Online square-into-square packing. Algorithmica, 77(3):867–901, 2017. doi:10.1007/S00453-016-0114-2.
[FKKS24] Sándor P. Fekete, Phillip Keldenich, Dominik Krupke, and Stefan Schirra. Maximum polygon packing: The CG: SHOP challenge 2024. CoRR, abs/2403.16203, 2024. arXiv:2403.16203, doi:10.48550/ARXIV.2403.16203.
[FL09] Matteo Fischetti and Ivan Luzzi. Mixed-integer programming models for nesting problems. Journal of Heuristics, 15(3):201–226, 2009. doi:10.1007/s10732-008-9088-9.
[GHK26] Tim Gerlach, Benjamin Hennies, and Linda Kleist. Online packing of orthogonal polygons. In Symposium on Computational Geometry (SoCG 2026), 2026. To appear. arXiv:2603.22098, doi:10.48550/ARXIV.2603.22098.
[GZH+22] B. Guo, Y. Zhang, J. Hu, J. Li, F. Wu, Q. Peng, and Q. Zhang. Two-dimensional irregular packing problems: A review. Front. Mech. Eng., 2022. doi:10.3389/fmech.2022.966691.
[HT01] Eva Hopper and Brian Turton. A review of the application of meta-heuristic algorithms to 2D strip packing problems. Artificial Intelligence Review, 16(4):257–300, 2001. doi:10.1023/A:1012590107280.
[Jon14] Donald R. Jones. A fully general, exact algorithm for nesting irregular shapes. Journal of Global Optimization, 59(2-3):367–404, 2014. doi:10.1007/s10898-013-0129-z.
[KS23] Adam Kurpisz and Silvan Suter. Improved approximations for translational packing of convex polygons. In European Symposium on Algorithms (ESA 2023), pages 76:1–76:14, 2023. doi:10.4230/LIPIcs.ESA.2023.76.
[LTO+20] Aline A.S. Leao, Franklina M.B. Toledo, José Fernando Oliveira, Maria Antónia Carravilla, and Ramón Alvarez-Valdés. Irregular packing problems: A review of mathematical models. European Journal of Operational Research, 282(3):803 – 822, 2020. doi:10.1016/j.ejor.2019.04.045.
[MD99] Victor J. Milenkovic and Karen Daniels. Translational polygon containment and minimal enclosure using mathematical programming. International Transactions in Operational Research, 6(5):525–554, 1999. doi:10.1111/j.1475-3995.1999.tb00171.x.
[Mil96] Victor Milenkovic. Translational polygon containment and minimal enclosure using linear programming based restriction. In Symposium on Theory of Computing (STOC 1996), pages 109–118, 1996. doi:10.1145/237814.237840.
[Mil97] Victor Milenkovic. Multiple translational containment. part II: exact algorithms. Algorithmica, 19(1/2):183–218, 1997. doi:10.1007/PL00014416.
[Mil99] Victor J. Milenkovic. Rotational polygon containment and minimum enclosure using only robust 2D constructions. Computational Geometry, 13(1):3–19, 1999. doi:10.1016/S0925-7721(99)00006-1.
[MW20] Arturo I. Merino and Andreas Wiese. On the two-dimensional knapsack problem for convex polygons. In International Colloquium on Automata, Languages, and Programming (ICALP 2020), pages 84:1–84:16, 2020. doi:10.4230/LIPIcs.ICALP.2020.84.
[PBAA16] Dongwoo Park, Sang Won Bae, Helmut Alt, and Hee-Kap Ahn. Bundling three convex polygons to minimize area or perimeter. Computational Geometry, 51:1–14, 2016. doi:10.1016/j.comgeo.2015.10.003.
[SP92] Paul Sweeney and Elizabeth Ridenour Paternoster. Cutting and packing problems: a categorized, application-orientated research bibliography. Journal of the Operational Research Society, 43(7):691–706, 1992. doi:10.1057/jors.1992.101.
[STV20] Ola Svensson, Jakub Tarnawski, and László A. Végh. A constant-factor approximation algorithm for the asymmetric traveling salesman problem. J. ACM, 67(6):37:1–37:53, 2020. doi:10.1145/3424306.
[TV24] Vera Traub and Jens Vygen. Approximation Algorithms for Traveling Salesman Problems. Cambridge University Press, 2024. doi:10.1017/9781009445436.
[TWC06] Kai Tang, Charlie C. L. Wang, and Danny Z. Chen. Minimum area convex packing of two convex polygons. International Journal of Computational Geometry and Applications, 16(1):41–74, 2006. doi:10.1142/S0218195906001926.
[vS12] Rob van Stee. SIGACT news online algorithms column 20: the power of harmony. SIGACT News, 43(2):127–136, 2012. doi:10.1145/2261417.2261440.
[vS15] Rob van Stee. SIGACT news online algorithms column 26: Bin packing in multiple dimensions. SIGACT News, 46(2):105–112, 2015. doi:10.1145/2789149.2789167.
A Proof of Corollary 2
Proof of Corollary 2. Let be the set of mini-containers computed by Lemma 26 (or Lemma 36 in the rotational case), and let and denote the optimum of the bin and strip packing instance, respectively. Recall that plain OPT is the area of the smallest convex container. We assume that the strip is vertical, i.e., the strip is and its length is measured in the -direction. The bins of an optimal bin packing, placed side by side, form a rectangle of area , and the used part of the strip in an optimal strip packing is a rectangle of area . Hence . By Lemma 26 (or Lemma 36 in the rotational case), the total area of is , and thus at most and .
In the rotational setting, we first rotate each mini-container so that its minimum width is attained in the vertical direction. Let and be the maximum horizontal and vertical spans of the mini-containers. Since is at least the vertical span of any star (in the rotational setting, its minimum width), (16) gives . Moreover, every mini-container has diameter , and we choose such that .
We apply Theorem 5 to and obtain an axis-aligned rectangle of area . Since and , we have , and since , we have . It remains to cut into pieces that fit into the strip or the bins.
Let us first consider strip packing. Let be an rectangle, and note that and . If , we cut by vertical lines into pieces of width at most and height . If , we cut by horizontal lines into pieces of width and height at most . We assign each mini-container to the piece that contains the lower left corner of its axis-aligned bounding box. Then the mini-containers assigned to a piece lie in that piece extended by to the right and by upwards.
In the first case , each extended piece has width at most and height at most . We place the extended pieces on top of each other, which gives length at most .
In the second case , each extended piece has width at most and height at most . We place the extended pieces in rows, with pieces side by side in each row. The number of rows is at most , using . Since each row has height at most , this gives length at most .
In both cases, the length is , since and .
For bin packing, we first construct a strip packing of length as above. We cut the strip by horizontal lines at distance and assign each mini-container to the part containing the lower left corner of its bounding box. The mini-containers assigned to a part lie in a rectangle of width 1 and height at most , which fits into a bin. This gives at most bins, since .
B Proof of Theorem 3
Recall the statement of this theorem.
Theorem 3. For some constants , if there exists a polynomial-time -approximation translational bin packing algorithm for polygons of diameter at most and convex hull area at least , then there exists a polynomial-time -approximation algorithm for translational packing of polygons into a minimum-area convex container.
Proof. The proof mostly follows the structure of Section 3. Most of the arguments follow directly from the case of stars, and we will omit repeated details and focus only on necessary modifications for general polygons.
As we did for stars, we divide the input polygons into size classes and then fine types, show that packing each fine type separately will only incur an extra factor in the approximation ratio. The mini-packing within each fine type can be simply reduced to a bin-packing problem by an affine transformation. Let P be the set of polygons to be packed.
Parameterize general polygons. Let be an arbitrary polygon. We define to be the farthest pair of points in , measured in Euclidean distance. Let be the farthest point from line in , measured in Euclidean distance as well. If there are multiple candidates for and , we choose the triple that maximizes the lexicographical order of vector . Note that segment may not be inside , which is different from the case of radii for star . We define
Similar to the use of triangle for star , triangle is also an “approximation” of , where is the convex hull of set .
Fact 44. Any polygon lies in a rectangle of size .
To obtain the -approximation algorithm, we use the same strategy as packing stars. Let and . Similar to stars, we partition into dyadic size groups of scales that contains all polygons with
In each size group , we partition polygons into fine types based on the orientation of the diameter , where the angular difference in each fine type is at most . This definition is the same as stars when we replace the role of radii by diameter. For each fine type , we define and similarly as we did for stars.
Next, we show a similar structural packing lemma for general polygons.
Lemma 45 (Similar to Theorem 10). Let be a set of polygons in one size group with scales , and let be a packing of in a convex container . For any and sufficiently small , there exists a partition
such that each only contains stars of one fine type and fits into a rectangle of dimensions aligned with and .
Proof. The proof follows the test line argument in the proof of Theorem 10. Let be the enclosing vertical parallelogram of . Treat to be the “radii” of , we can use the same way to partition into vertical strips and take the same set of test lines for each of the vertical strip. See Figure 4. The only part that does not hold is the counting bound on the number of occupied pairs for each vertical strip.
Let be an occupied pair that all polygons in it intersects interval on and interval on . For each fine type and all polygons in this occupied pair that falls into this fine type, there is a bounding box of dimensions for some universal constant. We also know that and its short side is along , which is at most 2 degree away from vertical. Let and . We know both and has length at most . So and touches at most intervals on and separately.
Let be some polygon packed in . Since crosses both and , without loss of generality, assume lies to the left of and lies to the right of . Then there must be a path in that connects and . Therefore, there must be a subpath in connecting and between and . We will call this subpath the induced subpath of occupied group . These subpaths have to be crossing free due to the feasibility of this packing. Therefore, for any and , and cannot be both occupied, because otherwise their induced subpath must cross. This suggest that the number of occupied pairs is .
Combined with all other parts, this lemma holds.
This part of packing into mini-containers can be rephrased into a bin packing problem. For each fine type , let be a linear transformation defined by and . Let be the set of polygons in fine type . The algorithmic problem for packing into rectangles of dimensions , is equivalent to packing into minimum number of unit axis-aligned squares. Each polygon after this linear transformation has diameter at most and convex hull area at least . Therefore, we can apply the assumed algorithm to obtain an -approximation in polynomial time.
Then we need to generalize the analysis of the total optimum size across all size groups.
Lemma 46 (Similar to Corollary 25). For any set of polygons ,
Proof. This proof follows the structure of Section 3.6. For each polygon , let be the triangle . We define the core of in the same way as we did for stars, where replacing the role of by respectively. Let be the unit vector from to , be the unit vector perpendicular to and pointing towards . Then the core of is the triangle that
Similarly, and any point is at least away from .
First, we show that the cores are disjoint for polygons from some different size groups.
Lemma 47 (Similar to Lemma 22). For any two polygons and , if and , then .
Proof. By contradiction, assume , , and . Without loss of generality, we choose the coordinates such that is horizontal and is vertical, and to be the origin. Then is contained in rectangle . Let be a path in from to . See Figure 34.
Since , lies in , which lies in the vertical strip . So must be cut by into multiple connected components, with at least the upper part and lower part beyond separated. By connectivity of , must be in one of the connected components, so cannot reach both the upper and lower parts beyond . Consider . Since , must cross both the upper and lower boundary of . Recall that , so must simultaneously reach both the upper and lower parts beyond , which leads to a contradiction.

Figure 34: Proof of Lemma 47. By contradiction, assume . Since , and , must cross .
Then we show that all polygons in the same size group touching a core can be bounded into a matching size rectangle.
Lemma 48 (Similar to Lemma 23). Let be a polygon in the size group with scales and . There is an rectangle that contains all polygons in the same group such that .
Proof. Similar to the case of stars, it's sufficient to show that all such that have similar orientation as . Let be the smaller angle formed by and . By contradiction, assume . Then consider the two bounding rectangles of size of and . Without loss of generality, assume is the origin and is horizontal. See Figure 34. Since , and , so one of and is above , and the other is below . Therefore, for any path in connecting and and any path in connecting and , and must cross. Therefore, , and one can create an axis-aligned bounding rectangle for all polygons with their core touching .
Following the same independent set argument, we get a full proof. Repeated details are omitted.
Therefore, we obtain a polynomial time -approximation algorithm for packing polygons into MACC.

Figure 35: Proof of Lemma 48. and the angle between and are larger than , then the two paths and in and connecting the two ends of their diameter must cross.