@article{4038, abstract = {We consider a variety of problems on the interaction between two sets of line segments in two and three dimensions. These problems range from counting the number of intersecting pairs between m blue segments and n red segments in the plane (assuming that two line segments are disjoint if they have the same color) to finding the smallest vertical distance between two nonintersecting polyhedral terrains in three-dimensional space. We solve these problems efficiently by using a variant of the segment tree. For the three-dimensional problems we also apply a variety of recent combinatorial and algorithmic techniques involving arrangements of lines in three-dimensional space, as developed in a companion paper.}, author = {Chazelle, Bernard and Edelsbrunner, Herbert and Guibas, Leonidas and Sharir, Micha}, issn = {0178-4617}, journal = {Algorithmica}, number = {2}, pages = {116 -- 132}, publisher = {Springer}, title = {{Algorithms for bichromatic line-segment problems and polyhedral terrains}}, doi = {10.1007/BF01182771}, volume = {11}, year = {1994}, }