期刊文献+

一种有效的复杂多边形裁剪算法 被引量:17

An Efficient Algorithm for Complex Polygon Clipping
原文传递
导出
摘要 提出了一种基于扫描线思想和梯形分割技术的多边形裁剪算法,其主要步骤包括:计算主多边形(集)与窗口多边形(集)的交点,提取所有交点和多边形边界结点的纵坐标(y)并进行排序;以排序后的y作水平扫描线,分别对主多边形和窗口多边形进行梯形分割,获得两组梯形集合;对这两组梯形集合逐行执行梯形单元"交"运算,最后对结果交集进行边界追踪建立裁剪多边形。实验结果表明,该算法具有较好的计算效率,是一种比较实用的多边形裁剪算法。 We popose pezlum segmentation an efficient algorithm for complex polygon clipping by adopting the tra technique and scan line idea. Firstly, we find and compute the intersec tion points between main polygons and window polygons, then we record and sort the Y val- ues of these points and the points in all polygons. Secondly, we cut all the polygons into some trapezium units by drawing the scan lines on the basis of these Y values and intersecting the edges of all polygons with the scan lines. Thirdly, we complete the trapezium-split oper- ation line by line and pick up the intersection parts between the trapezia from main polygons and those from window polygons. Finally, we acquire the clipping polygons by tracing the boundary of the intersection parts. This algorithm ovecomes the complex computations such as the line reorganization and calculation of entry and exit points on the polygons.
出处 《武汉大学学报(信息科学版)》 EI CSCD 北大核心 2010年第3期369-372,377,共5页 Geomatics and Information Science of Wuhan University
基金 国家基础科学人才培养基金资助项目(J0630535)
关键词 多边形裁剪 算法 地理信息系统 polygon clipping algorithm GIS
  • 相关文献

参考文献8

  • 1Sutherland I E, Hodgeman G W. Reentran't Polygon Clipping [J]. Communications of the ACM, 1974,17(1):32-42.
  • 2Liang Y, Barsky B A. An Analysis and Algorithm for Polygon Clipping[J]. Communications of the ACM, 1983,26(11):868-877.
  • 3Foley J D, Dam A, Feiner S K, et al. Computer Graphics, Principles and Practice [M]. Reading, M A:Addison-Wesley, 1990.
  • 4Maillot PG. A New, Fast Method for 2D Polygon Clipping: Analysis and Software Implementation[J]. ACM Transactions on Graphics, 1992,11 (3):276-290.
  • 5Andereev R D. Algorithm for Clipping Arbitrary Polygons [J]. Computer Graphics Forum, 1989, 8(2):183-191.
  • 6Weiler K, Atherton P. Hidden Surface Removal Using Polygon Area Sorting[C]. The SIGGRAPH' 77, New York, 1977.
  • 7Vatti B R. A Generic Solution to Polygon Clipping [J]. Communications of theACM, 1992,35(1):56- 63.
  • 8Greiner G, Hormann K. Efficient Clipping of Arbitrary Polygons[J]. ACM Transactions on Graphics, 1998,17(2) :71-83.

同被引文献157

引证文献17

二级引证文献56

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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