Skip to content

The Containment Polytope of a Triangle and a Convex Polygon

Yoonsung Choi, Sunghee Choi

cs.CG

Abstract

The containment polytope C\mathcal{C} for a triangle PP and a convex nn-gon QQ is a four-dimensional polytope representing the similarity transforms (translation, rotation, scaling) that place PP inside QQ. While it is known that the complexity of C\mathcal{C} and its silhouette ΛΛ, which represents all the largest placements of PP inside QQ for all orientations, can be quadratic in nn, we show that the silhouette can be partitioned into a linear number of planar convex chains and steps in O(nlog⁡n)O(n \log n) time. Based on the linear number of convex chains and steps, we can compute the complexity of silhouette ΛΛ in O(nlog⁡n)O(n \log n) time and query the largest placement of PP inside QQ for a given orientation in O(log⁡n)O(\log n) time. We explain geometrically how the triangle PP rotates while continuously scaling and translating to be maximal inside QQ, leading to a parameterized algorithm for containment problems.

Create a lesson