# MPI-I-92-108

## Computing intersections and arrangements for red-blue curve segments in parallel

### Rüb, Christine

#### February 1992, 30 pages.

.

##### Status: available - back from printing

Let $A$ and $B$ be two sets of ``well-behaved'' (i.e., continuous and
x-monotone) curve segments in the plane, where no two segments in $A$
(similarly, $B$) intersect. In this paper we show how to report all
points of intersection between segments in $A$ and segments in $B$, and
how to construct the arrangement defined by the segments in $A\cup B$
in parallel using the concurrent-read-exclusive-write (CREW-) PRAM
model. The algorithms perform a work of $O(n\log n+k)$ using
$p\leq n+k/\log n$ ($p\leq n/\log n+k/\log ^2 n$, resp.,) processors
if we assume that the handling of segments is ``cheap'', e.g., if
two segments intersect at most a constant number of times,
where $n$ is the total number of segments and $k$ is the number of
points of intersection. If we only assume that
a single processor can compute an arbitrary point of intersection
between two segments in constant time, the performed work increases
to $O(n\log n+m(k+p))$, where $m$ is the maximal number of points of
intersection between two segments.
We also show how to count the number of points of intersection between
segments in $A$ and segments in $B$ in time $O(\log n)$ using $n$
processors on a CREW-PRAM if two curve segments intersect at most twice.

**URL to this document: **https://domino.mpi-inf.mpg.de/internet/reports.nsf/NumberView/1992-108

**BibTeX**
`@TECHREPORT{``Rueb92``,`

` AUTHOR = {R{\"u}b, Christine},`

` TITLE = {Computing intersections and arrangements for red-blue curve segments in parallel},`

` TYPE = {Research Report},`

` INSTITUTION = {Max-Planck-Institut f{\"u}r Informatik},`

` ADDRESS = {Im Stadtwald, D-66123 Saarbr{\"u}cken, Germany},`

` NUMBER = {MPI-I-92-108},`

` MONTH = {February},`

` YEAR = {1992},`

` ISSN = {0946-011X},`

`}`