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

利用交点坐标的直线生成算法
引用本文:李黎.利用交点坐标的直线生成算法[J].电脑编程技巧与维护,2010(10):31-32,62.
作者姓名:李黎
作者单位:桂林师范高等专科学校物理与信息技术系,桂林,541002
摘    要:为了改进计算机图形学中直线生成算法的效率,利用网格中心线和所画直线的交点来决定每行网格中所要画的像素,提出一种根据直线的对称性从直线起点和终点同时开始画直线的算法。实验结果表明,新算法具有跟Bresenham算法一样的精度,且生成速度更快。

关 键 词:网格中心线  交点  逼近点

Using Point of Intersection Coordinate Straight Line Production Algorithm
LI Li.Using Point of Intersection Coordinate Straight Line Production Algorithm[J].Computer Programming Skills & Maintenance,2010(10):31-32,62.
Authors:LI Li
Affiliation:LI Li(Guilin pedagogical College level specialty school,Guangxi 541002)
Abstract:In order to improve the computer graphics cathetus production algorithm the efficiency,the use grid middle line and draws the straight line the point of intersection to decide in each line of grids must draw the picture element,this article proposed one kind simultaneously starts the picture straight line algorithm according to the straight line symmetry from the straight line beginning and the end point.The experimental result indicated that,The new algorithm has with the Bresenham algorithm same precision,also the production speed is quicker.
Keywords:grid middle line  Point of intersection  the spot of approaching
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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