Reporting red-blue intersections between two sets of connected line segments

被引:1
作者
Basch, J
Guibas, LJ
Ramkumar, GD
机构
[1] Enuvis Inc, San Francisco, CA 94080 USA
[2] Stanford Univ, Dept Comp Sci, Stanford, CA 94305 USA
[3] Sanera Syst Inc, Sunnyvale, CA 94085 USA
关键词
computational geometry; plane sweep; segment intersection; heaps;
D O I
10.1007/s00453-002-0967-4
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present a new line sweep algorithm, HEAPSWEEP, for reporting bichromatic ("purple"). intersections between a red and a blue family of line segments. If the union of the segments in each family is connected as a point set, HEAPSWEEP reports all k purple intersections in time O ((n + k)alpha (n) log(3) n), where n is the total number of input segments and alpha(n) is the nearly constant inverse Ackermann function. To achieve these bounds, the algorithm maintains only partial information about the vertical ordering between curves of the same color, using a new data structure called a kinetic queue. In order to analyze the running time of HEAPSWEEP, we also show that a simple polygon containing a set of n line segments can be partitioned into monotone regions by a set of vertical threads cutting these segments O (n log n) times.
引用
收藏
页码:1 / 20
页数:20
相关论文
共 32 条
[1]   Constructing levels in arrangements and higher order Voronoi diagrams [J].
Agarwal, PK ;
de Berg, M ;
Matousek, J ;
Schwarzkopf, O .
SIAM JOURNAL ON COMPUTING, 1998, 27 (03) :654-667
[2]   PARTITIONING ARRANGEMENTS OF LINES .2. APPLICATIONS [J].
AGARWAL, PK .
DISCRETE & COMPUTATIONAL GEOMETRY, 1990, 5 (06) :533-573
[3]   RED-BLUE INTERSECTION DETECTION ALGORITHMS, WITH APPLICATIONS TO MOTION PLANNING AND COLLISION DETECTION [J].
AGARWAL, PK ;
SHARIR, M .
SIAM JOURNAL ON COMPUTING, 1990, 19 (02) :297-321
[4]   Data structures for mobile data [J].
Basch, J ;
Guibas, LJ ;
Hershberger, J .
JOURNAL OF ALGORITHMS, 1999, 31 (01) :1-28
[5]  
Basch J., 1996, Algorithms - ESA '96. Fourth Annual European Symposium. Proceedings, P302
[6]  
BASCH J, 1996, P 2 WORKSH ALG FDN R, P171
[7]  
BENTLEY JL, 1979, IEEE T COMPUT, V28, P643, DOI 10.1109/TC.1979.1675432
[8]  
Brodal GS, 2000, LECT NOTES COMPUT SC, V1851, P57
[9]  
CHAN T, 1999, P 40 ANN IEEE S FDN, P92
[10]   COMPUTING A FACE IN AN ARRANGEMENT OF LINE SEGMENTS AND RELATED PROBLEMS [J].
CHAZELLE, B ;
EDELSBRUNNER, H ;
GUIBAS, L ;
SHARIR, M ;
SNOEYINK, J .
SIAM JOURNAL ON COMPUTING, 1993, 22 (06) :1286-1302