arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1511.04036cs.CG
收藏

分离两条多边形公切线的最优算法

An Optimal Algorithm for the Separating Common Tangents of two Polygons

Mikkel Abrahamsen

摘要:

本文描述了一种在线性时间和工作空间不变的情况下计算两个简单多边形的分离公切线的算法。多边形的切线是一条与多边形接触的线,使得所有多边形都位于该线的同一侧。两个多边形的分离公切线是两个多边形的切线,其中多边形位于切线的不同侧。每个多边形都以其角点的只读数组形式给出。如果分离公切线不存在,则算法报告。否则,将返回定义分离公切线的两个角。该算法简单,并隐含了一个判定两个多边形的凸包是否不相交的最优算法。在本文之前,这在线性时间和恒定工作空间中是不可能的。外公切线是两个多边形的切线,其中多边形位于切线的同一侧。在多边形的凸包不相交的情况下,给出了一种利用恒定工作空间在线性时间内计算外公切线的算法。

英文摘要:

We describe an algorithm for computing the separating common tangents of two simple polygons using linear time and only constant workspace. A tangent of a polygon is a line touching the polygon such that all of the polygon lies to the same side of the line. A separating common tangent of two polygons is a tangent of both polygons where the polygons are lying on different sides of the tangent. Each polygon is given as a read-only array of its corners. If a separating common tangent does not exist, the algorithm reports that. Otherwise, two corners defining a separating common tangent are returned. The algorithm is simple and implies an optimal algorithm for deciding if the convex hulls of two polygons are disjoint or not. This was not known to be possible in linear time and constant workspace prior to this paper. An outer common tangent is a tangent of both polygons where the polygons are on the same side of the tangent. In the case where the convex hulls of the polygons are disjoint, we give an algorithm for computing the outer common tangents in linear time using constant workspace.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑