TY - GEN

T1 - Red-blue intersection detection algorithms, with applications to motion planning and collision detection

AU - Agarwai, Pankaj

AU - Sharir, Micha

N1 - Publisher Copyright:
© 1988 ACM.

PY - 1988/1/6

Y1 - 1988/1/6

N2 - Let γ be a collection of n (possibly intersecting) "red" Jordan arcs of some simple shape in the plane and let γ' be a similar collection of m "blue" arcs. We present several efficient algorithms for detecting an intersection between an arc of γ and an arc of γ'. (i) If the arcs of γ' form the boundary of a simply connected region, then we can detect a "red-blue" intersection in time O(λs(m)log2 m + (λs(m) + n)log(n + m)) where λs(m) is the (almost-linear) maximum length of (m, s) Davenport-Schinzel sequences, and where s is a fixed parameter, depending on the shape of the given arcs. Another case where we can detect an intersection in close to linear time is when the union of the arcs of γ and the union of the arcs of γ' are both connected. (ii) In the most general case, we can detect an intersection in time O((m √λs(n) + n√λs(m)))log1.5(m+n)). For several special but useful cases, in which many faces in the arrangements of γ and γ' can be computed efficiently, we obtain randomized algorithms which are better than the general algorithm. In particular when all arcs in γ and γ' are line segments, we obtain a randomized O((m-+n)4/3+ϵl) intersection detection algorithm. We apply the algorithm in (i) to obtain an O(λs(n) log2 n) algorithm (for some small s > 0) for planning the motion of an n-sided simple polygon around a right-angle corner in a corridor, improving a previous O(n2) algorithm of [MY86], and to derive an efficient technique for fast collision detection for a simple polygon moving (translating and rotating) in the plane along a prescribed path.

AB - Let γ be a collection of n (possibly intersecting) "red" Jordan arcs of some simple shape in the plane and let γ' be a similar collection of m "blue" arcs. We present several efficient algorithms for detecting an intersection between an arc of γ and an arc of γ'. (i) If the arcs of γ' form the boundary of a simply connected region, then we can detect a "red-blue" intersection in time O(λs(m)log2 m + (λs(m) + n)log(n + m)) where λs(m) is the (almost-linear) maximum length of (m, s) Davenport-Schinzel sequences, and where s is a fixed parameter, depending on the shape of the given arcs. Another case where we can detect an intersection in close to linear time is when the union of the arcs of γ and the union of the arcs of γ' are both connected. (ii) In the most general case, we can detect an intersection in time O((m √λs(n) + n√λs(m)))log1.5(m+n)). For several special but useful cases, in which many faces in the arrangements of γ and γ' can be computed efficiently, we obtain randomized algorithms which are better than the general algorithm. In particular when all arcs in γ and γ' are line segments, we obtain a randomized O((m-+n)4/3+ϵl) intersection detection algorithm. We apply the algorithm in (i) to obtain an O(λs(n) log2 n) algorithm (for some small s > 0) for planning the motion of an n-sided simple polygon around a right-angle corner in a corridor, improving a previous O(n2) algorithm of [MY86], and to derive an efficient technique for fast collision detection for a simple polygon moving (translating and rotating) in the plane along a prescribed path.

UR - http://www.scopus.com/inward/record.url?scp=84968398127&partnerID=8YFLogxK

U2 - 10.1145/73393.73401

DO - 10.1145/73393.73401

M3 - ???researchoutput.researchoutputtypes.contributiontobookanthology.conference???

AN - SCOPUS:84968398127

T3 - Proceedings of the 4th Annual Symposium on Computational Geometry, SCG 1988

SP - 70

EP - 80

BT - Proceedings of the 4th Annual Symposium on Computational Geometry, SCG 1988

PB - Association for Computing Machinery, Inc

T2 - 4th Annual Symposium on Computational Geometry, SCG 1988

Y2 - 6 June 1988 through 8 June 1988

ER -