Decomposing the Complement of the Union of Cubes and Boxes in Three Dimensions
Pankaj K. Agarwal,Micha Sharir,Alex Steiger
DOI: https://doi.org/10.1007/s00454-024-00632-2
2024-03-04
Discrete & Computational Geometry
Abstract:Let be a set of n axis-aligned cubes of arbitrary sizes in in general position. Let be their union, and let be the number of vertices on ; can vary between O (1) and . We present a partition of into axis-aligned boxes with pairwise-disjoint interiors that can be computed in time if the faces of are pre-computed. We also show that a partition of size , where is the number of input cubes that appear on , can be computed in time if the faces of are pre-computed. The complexity and runtime bounds improve to if all cubes in are congruent and the faces of are pre-computed. Finally, we show that if is a set of arbitrary axis-aligned boxes in , then a partition of into boxes can be computed in time , where is, as above, the number of vertices in , which now can vary between O (1) and .
mathematics,computer science, theory & methods