期刊文献+

基于简单要素模型的多边形分割算法 被引量:9

Algorithm for Splitting Polygon Based on Simple Data Model
下载PDF
导出
摘要 多边形是GIS研究和应用中使用最频繁的几何对象,该文描述了基于简单要素模型的任意多边形分割算法。从计算几何出发,结合GIS空间数据的特点,将基于简单要素模型的多边形分割算法设计为:1)对多边形及分割线的边界排序,基于扫描线及外包矩形检测查找可能相交的线段,提高相交线段的搜索效率;2)计算交点生成结点信息(包括交点坐标、线号及交点的出入),并存储在独立的单向链表中;3)根据结点链表和原多边形坐标搜索结果多边形。该算法能够分割任意简单多边形(凹凸、曲线边界和带洞的多边形)以及有共享边的多边形。最后在MapGIS7.0平台上,实现了基于简单要素类的多边形分割功能。 The polygon is the most frequently used geometric object in GIS research applications, in this paper, an algorithm for splitting arbitrary polygon based on simple data mode is described. The algorithms of polygon unions and intersections, erasing, clipping are discussed and analyzed. Based on the study of the domestic and foreign literatures, considering the feature of spatial data, this algorithm for splitting a polygon with a polyline is completed. It works in the following steps. First, to inspect and prepare spatial data based on simple data mode. The polygons being split must be well-defined polygons. Then, to find intersection lines with sweep-line algorithm based on sorted lines which are the edges of polygons and splitting polyline. Bounding rectangular test is used first in this step. And then, to calculate the intersection points, and construct node lists of intersection points and other additional information(coordinates of intersection points, line number, from-to and so on). The start point of polygon is considered as intersection point. Last but not least,the output polygons are constructed by performing independent walk-about through the node lists. The theoretical time complexity is O(v+a) log2 (v+a)(v and a are the number of the polygons' and polyline' vertices). This algorithm can calculate arbitrary polygons which are well-defined polygons, including shared edges. Tested in MapGIS7. 0 platform, the splitting polygon algorithm based on the simple data has been realized.
出处 《地理与地理信息科学》 CSSCI CSCD 北大核心 2010年第1期24-28,共5页 Geography and Geo-Information Science
基金 国家863重点项目(2007AA120503) 国家自然科学基金项目(40771165)
关键词 计算交点 多边形分割 多边形运算 简单要素模型 GIS intersection calculation splitting polygon polygon operation simple data model GIS
  • 相关文献

参考文献11

  • 1CIGALE B,2ALIK B. A simple polygon splitting algorithm[A]. Proceedings 15th Spring Conference on Computer Graphics[C]. Budmerice, Slovakia, 1999. 239-- 246.
  • 2LIANG Y D, BARSKY B A. A new concept and method for line clipping[J]. ACM Trans on Graphics, 1984,3(1):1--22.
  • 3GREINER G, HORMANN K. Efficient clipping of arbitrary polygons[J]. Association for Computing Machinery-Transactions on Graphics, 1998,17 (2) : 71-- 83.
  • 42ALIK B,GOMBOSII M, PODGORELEC D. A quick intersection algorithm for arbitrary polygons [ A]. Proceedings 14th Spring Conference on Computer Graphics[C]. Budmeriee, Slovakia, 1998. 195--215.
  • 5ZALIK B. Two efficient algorithms for determining intersection points between simple polygons[J]. Computers & Geoseiences, 2000,26(2):137--151.
  • 6LIU Y K, WANG X Q,ZALIK B. An algorithm for polygon clipping and for determining polygon intersections and unions [J]. Computers & Geosciences, 2007,33 : 589--598.
  • 7周培德.计算几何[M].北京:清华大学出版社,2000..
  • 8武志强,杨哲海,吴官祥.基于Visual C++平台的多边形裁剪算法实现[J].测绘学院学报,2000,17(4):301-304. 被引量:7
  • 9谢忠,叶梓,吴亮.简单要素模型下多边形叠置分析算法[J].地理与地理信息科学,2007,23(3):19-23. 被引量:24
  • 10伺援军.计算机图形学[M].北京:机械工业出版社,2006.158-162.

二级参考文献15

共引文献70

同被引文献46

引证文献9

二级引证文献12

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部