We present a new algorithm for computing the straight skeleton of a polygon. For a polygon with vertices, among which are reflex vertices, we give a deterministic algorithm that reduces the straight skeleton computation to a motorcycle graph computation in time. It improves on the previously best known algorithm for this reduction, which is randomized, and runs in expected time for a polygon with holes. Using known motorcycle graph algorithms, our result yields improved time bounds for computing straight skeletons. In particular, we can compute the straight skeleton of a non-degenerate polygon in $O(n (\log n) \log r + r^{4/3+\varepsilon})\varepsilon>0$. On degenerate input, our time bound increases to .

生成讲解博客的中文版本

生成AI智能校验的中文版本