Computer Engineering and Applications ›› 2007, Vol. 43 ›› Issue (23): 28-31.

• 学术探讨 • Previous Articles     Next Articles

Algorithm for line buffering based on plane sweep technique

LI Jin-shan,FANG Jin-yun   

  1. Spatial Information Technology Laboratory,Institute of Computing Technology,Chinese Academy of Sciences,Beijing 100080,China
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-08-11 Published:2007-08-11
  • Contact: LI Jin-shan

基于平面扫描的双线圆弧缓冲区生成算法

李金山,方金云   

  1. 中国科学院 计算技术研究所 空间信息处理技术实验室,北京 100080
  • 通讯作者: 李金山

Abstract: In the GIS literature,many algorithms to generate buffer areas of lines have been proposed.A popular method is based on double parallel lines and circular arcs.But in such methods,there are serious problems such as self-intersections and distortion of the result polygon.Based on the plane sweep line technique,this paper presents one improved algorithm to generate buffer areas of line strings,which avoids the problems of distortion and simplifies the self-intersections handling.The time complexity of the new algorithm is O(nlbn).

Key words: GIS, buffer, double parallel lines and circular arcs, plane sweep technique, distortion

摘要: 在GIS领域,线目标实体的缓冲区生成有很多算法,常见的双线圆弧法存在结果多边形自相交和失真问题,处理起来相当复杂。在双线圆弧法基础上提出一种基于平面扫描技术的线目标缓冲区生成算法,在扫描过程中处理多边形自相交问题,同时能够避免失真现象。算法的时间复杂度为O(nlbn)。

关键词: 地理信息系统, 缓冲区, 双线圆弧法, 平面扫描技术, 失真