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

一种快速圆弧绘制算法
引用本文:程锦,陆国栋,谭建荣.一种快速圆弧绘制算法[J].软件学报,2002,13(12):2275-2280.
作者姓名:程锦  陆国栋  谭建荣
作者单位:浙江大学CAD&CG国家重点实验室,浙江,杭州,310027
基金项目:国家自然科学基金资助项目(69878038);国家863高科技发展计划资助项目(863-511-9842-006);浙江省自然科学基金资助项目(696045)
摘    要:提出一种圆弧绘制算法.与传统的基于单个像素点的圆弧绘制算法不同,新算法每执行一次输出操作均可生成两个或多个像素点.该算法将圆弧离散轨迹看成是由一系列水平位移和对角位移构成,逐段找出并绘制这些位移,从而减少了圆弧绘制过程中所需的输出操作,有效地提高了圆弧绘制速度.实验结果表明,新算法与著名的Bresenham算法相比,圆弧绘制速度提高近一倍.进一步地,新算法可以推广到其他二次曲线的绘制中

关 键 词:圆弧绘制  Bresenham算法  离散轨迹  水平位移  对角位移
文章编号:1000-9825/2002/13(12)2275-06
收稿时间:2001/5/15 0:00:00
修稿时间:2001年5月15日

A Fast Algorithm for the Drawing of Circles
CHENG Jin,LU Guo-dong and TAN Jian-rong.A Fast Algorithm for the Drawing of Circles[J].Journal of Software,2002,13(12):2275-2280.
Authors:CHENG Jin  LU Guo-dong and TAN Jian-rong
Abstract:An algorithm for the drawing of circles is proposed in this paper. It differs greatly from the conventional algorithms that select one pixel per iteration because it can generate at least two pixels every time an I/O operation is executed. The algorithm is presented on the observation that the discrete loci of a circle are composed of a series of horizontal displacements and diagonal displacements. By locating and drawing these displacements one by one, the algorithm can effectively increase the speed of circle drawing due to the great reduction in the number of I/O operations. The experiment results prove that the circle-drawing speed of the algorithm can be almost doubled comparing with of the Bresenham algorithm. Furthermore, the algorithm can be generalized to the production of other conics in computer graphics.
Keywords:circle drawing  Bresenham algorithm  discrete loci  horizontal displacement  diagonal displacement
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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