Abstract
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.
Originalsprog | Engelsk |
---|---|
Tidsskrift | Leibniz International Proceedings in Informatics |
Vol/bind | 34 |
Sider (fra-til) | 198-208 |
Antal sider | 11 |
ISSN | 1868-8969 |
DOI | |
Status | Udgivet - 1 jun. 2015 |
Begivenhed | International Symposium on Computational Geometry (SoCG 2015) - Eindhoven, Holland Varighed: 22 jun. 2015 → 25 jun. 2015 Konferencens nummer: 31 |
Konference
Konference | International Symposium on Computational Geometry (SoCG 2015) |
---|---|
Nummer | 31 |
Land/Område | Holland |
By | Eindhoven |
Periode | 22/06/2015 → 25/06/2015 |