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

Pankaj Agarwai, Micha Sharir

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

2 Scopus citations

Abstract

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.

Original languageEnglish
Title of host publicationProceedings of the 4th Annual Symposium on Computational Geometry, SCG 1988
PublisherAssociation for Computing Machinery, Inc
Pages70-80
Number of pages11
ISBN (Electronic)0897912705, 9780897912709
DOIs
StatePublished - 6 Jan 1988
Event4th Annual Symposium on Computational Geometry, SCG 1988 - Urbana-Champaign, United States
Duration: 6 Jun 19888 Jun 1988

Publication series

NameProceedings of the 4th Annual Symposium on Computational Geometry, SCG 1988

Conference

Conference4th Annual Symposium on Computational Geometry, SCG 1988
Country/TerritoryUnited States
CityUrbana-Champaign
Period6/06/888/06/88

Funding

FundersFunder number
Digital Equipment Corporation
Israeli National Council for Research and Development
National Science FoundationNSF-DCR-83-20085
Office of Naval ResearchN00014-82-lK-0
International Business Machines Corporation
National Center for Research and Development

    Fingerprint

    Dive into the research topics of 'Red-blue intersection detection algorithms, with applications to motion planning and collision detection'. Together they form a unique fingerprint.

    Cite this