Fast algorithm for generating sorted contour strings

被引:20
作者
Jones, NL [1 ]
Kennard, MJ [1 ]
Zundel, AK [1 ]
机构
[1] Brigham Young Univ, Environm Modeling Res Lab, Provo, UT 84602 USA
关键词
contour generation; contour sorting algorithm;
D O I
10.1016/S0098-3004(00)00009-1
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Automatic generation of contours for graphical display and map plotting has been studied extensively since the early days of computing. The individual segments making up a contour line are often determined by subdividing the object of interest into small triangles and computing the contours assuming a linear variation on each triangle. However, efficient storage of contour data and the need to place labels (automatically) or to smooth the contours require that the contours be generated in continuous strings of segments. A simple approach to generate such strings is to sort the randomly generated contour segments. Since sorting can be time-consuming, the majority of previous approaches are contour-tracing algorithms that traverse the surface and generate the contour in a continuous sequence of segments. In this paper, we present a new sorting algorithm. The algorithm is relatively easy to implement, can be applied to any type of surface, and works for both 2D and 3D objects. The algorithm is significantly faster than the contour tracing approach, particularly when large numbers of segments are involved. (C) 2000 Elsevier Science Ltd. All rights reserved.
引用
收藏
页码:831 / 837
页数:7
相关论文
共 13 条
[1]   TECHNIQUES FOR REDUCING PEN PLOTTING TIME [J].
ANDERSON, DP .
ACM TRANSACTIONS ON GRAPHICS, 1983, 2 (03) :197-212
[2]  
BATCHA JP, 1964, COLORADO SCH MINES Q, V14, P187
[3]   INCLUDING KNOWN DISCONTINUITIES DIRECTLY INTO A TRIANGULAR IRREGULAR MESH FOR AUTOMATIC CONTOURING PURPOSES [J].
BUYS, J ;
MESSERSCHMIDT, HJ ;
BOTHA, JF .
COMPUTERS & GEOSCIENCES, 1991, 17 (07) :875-881
[4]  
KELLEY AL, 1984, BOOK C PROGRAMMING C
[5]  
KOK R, 1981, T ASAE, V24, P87, DOI 10.13031/2013.34205
[6]  
KOK R, 1981, T ASAE, V24, P102
[7]  
Lancaster P., 1986, CURVE SURFACE FITTIN, V1st ed.
[8]  
Lodwick G. D., 1970, Australian Computer Journal, V2, P104
[9]   Data structures for fast searching of SEG-Y seismic data [J].
Nickerson, BG ;
Judd, PA ;
Mayer, LA .
COMPUTERS & GEOSCIENCES, 1999, 25 (02) :179-190
[10]  
SABIN MA, 1980, MATH METHODS COMPUTE, P63