首页 | 本学科首页   官方微博 | 高级检索  
     

基于点区域分布的多边形窗口线裁剪算法
引用本文:任洪海. 基于点区域分布的多边形窗口线裁剪算法[J]. 科学技术与工程, 2009, 9(16)
作者姓名:任洪海
作者单位:大连交通大学软件学院计算机图形学教研室,大连,116052
摘    要:通过判断多边形窗口顶点相对于裁剪线段所在直线的区域分布,明确窗口的哪些边与裁剪线段所在直线相交;再通过判断裁剪线段两端点相对于这些多边形窗口相交边的区域分布,最后确定裁剪线段与多边形窗口的实际交点.避免大量不必要的求交运算和其他复杂的辅助操作.实验结果表明:新算法提高了裁剪效率,对各种情况都能快速、正确地得到结果.

关 键 词:计算机图形学  多边形窗口  线裁剪  点关于直线区域分布

Line Clipping Algorithm Against A Polygon Based on Point Region Distributing
REN Hong-hai. Line Clipping Algorithm Against A Polygon Based on Point Region Distributing[J]. Science Technology and Engineering, 2009, 9(16)
Authors:REN Hong-hai
Affiliation:Computer Graphics Office of Software Institute;DaLian Jiaotong University;Dalian 116052;P.R.China
Abstract:The edges of the polygonal window that intersects with the line that the clipping line segment lies can be determined by region distributing of the endpoints of the polygonal window relative to the line.At last,the true intersection of the clipping line segment and the polygonal window can be determined by region distributing of the two endpoints of the clipping line segment relative to the intersected edge of the polygonal window. A lot of needless intersection calculations and complicated assisting operat...
Keywords:computer graphics polygonal window line clipping point distributing about line region  
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号