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

适用于凹多边形的Cyrus-Beck改进算法
引用本文:陈涛.适用于凹多边形的Cyrus-Beck改进算法[J].计算机科学,2006,33(12):217-220.
作者姓名:陈涛
作者单位:南京大学计算机科学与技术系,南京,210093
摘    要:本文对目前常用的二维线段裁剪算法进行分析,提出了一种基于Cyrus-Beck算法的改进算法,使其能够扩展到对凹多边形的处理,通过对线段与裁剪窗口位置关系的严格判断将求交次数减到最少,并且通过对交点性质的判断来识别出线段的可见部分。理论分析和实验结果均表明该算法优于目前处理任意多边形裁剪框的算法。

关 键 词:凹多边形  线裁剪  算法  改进

An Improved Algorithm of Cyrus-Beck Segment Clipping to Process Concave Polygon
CHEN Tao.An Improved Algorithm of Cyrus-Beck Segment Clipping to Process Concave Polygon[J].Computer Science,2006,33(12):217-220.
Authors:CHEN Tao
Affiliation:Department of Computer Science and Technology, Nanjing University, Nanjing 210093
Abstract:Based on the analysis of currently popular algorithms for segment clipping, in this paper, an improvement in the algorithm of Cyrus-Beck segment is proposed, which extends the algorithm to the range of concave polygon. The calculation of the intersection points is decreased to the minimum by the means of verifying the position of the line to be clipped against the polygon. And marking those intersection points with "in" or "out" to decide which sub-line between the two intersection points is visible. Both theoretic analysis and example testing show that the new algorithm is better than well known algorithms.
Keywords:Concave polygon  Line clipping  Algorithm  Amelioration
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机科学》浏览原始摘要信息
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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