期刊文献+

基于凸剖分的多边形窗口线裁剪算法 被引量:3

Line Clipping Against a Polygon Based on Convex Decomposition
下载PDF
导出
摘要 以不增加新点的方式将多边形剖分为一些凸多边形,并基于这些多边形的边建立二叉树进行管理.裁剪计算时,根据二叉树快速地找到与被裁剪线有相交的凸多边形,然后运用高效的凸多边形裁剪算法进行线裁剪.该方法能自适应地降低裁剪计算的复杂度,使其在O(logn)和O(n)之间变化,并在大多数情况下小于O(n),其中n是多边形边数.虽然该方法需要进行预处理,但在许多应用(如多边形窗口对多边形的裁剪)中,其总执行时间(包括预处理时间和裁剪时间)比已有的不需要预处理的裁剪算法少很多. A novel line clipping algorithm against a general polygon is proposed in the paper. By the approach, the polygon is first decomposed into a set of convex polygons without adding new points and then these convex polygons are organized in a binary space partition tree, as a search tree. In the clipping procedure, the search tree is used to find the candidate convex polygons that intersect the clipped line segment and then an efficient line clipping algorithm against a convex polygon is applied to each such candidate. The algorithm can adaptively decrease the time complexity for line clipping, ranging from O(logn ) to O( n ), but less than O( n ) in most cases, where n is the number of the edges of the polygon. Although a preprocess is required, in many applications (e. g. clipping a polygon against another polygon), the total time consumed by the new method, including the time for preprocess and clipping calculation, is much less than that by the existing algorithms without preprocess.
出处 《计算机辅助设计与图形学学报》 EI CSCD 北大核心 2007年第4期425-429,共5页 Journal of Computer-Aided Design & Computer Graphics
基金 国家自然科学基金(60373051) 国家"九七三"重点基础研究发展规划项目(2002CB312102) 国家"八六三"高技术研究发展计划(2006AA01Z306) 国家"八六三"高技术研究发展计划(2006AA01Z306) 澳门大学科研基金
关键词 多边形窗口 线裁剪 凸剖分 二叉树 加速 acceleration polygonal window .line clipping convex decomposition binary space partition tree
  • 相关文献

参考文献7

  • 1Rogers David F.Procedural elements for computer graphics[M].2nd ed.Beijing:China Machine Press,2002
  • 2Skala V.O(lgN) line clipping algorithm in E2[J].Computers & Graphics,1994,18(4):517-524
  • 3Skala V.Line clipping in E2 with O(1) processing complexity[J].Computers & Graphics,1996,20(4):523-530
  • 4刘勇奎,颜叶,石教英.一个有效的多边形窗口的线裁剪算法[J].计算机学报,1999,22(11):1209-1214. 被引量:38
  • 5陆国栋,邢世海,彭群生.基于顶点编码的多边形窗口线裁剪高效算法[J].计算机学报,2002,25(9):987-993. 被引量:16
  • 6Huang Y Q,Liu Y K.An algorithm for the clipping against a polygon based on shearing transformation[J].Computer Graphics Forum,2002,21(4):683-688
  • 7de Berg Mark,Overmars Mark.Computational geometry:algorithms and applications[M].2nd ed.Berlin:Springer,2000

二级参考文献10

共引文献43

同被引文献38

引证文献3

二级引证文献18

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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