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

直线的分段绘制算法
引用本文:黄欣.直线的分段绘制算法[J].湖北民族学院学报(哲学社会科学版),2012(1):98-100.
作者姓名:黄欣
作者单位:湖北民族学院信息工程学院
摘    要:斜率属于0,1]的光栅直线由一组水平线段组成,各线段的长度与直线斜率的倒数密切相关.本文分析了水平线段的组成规律,设计了一个新的直线绘制算法.如果直线较长并且斜率较小,那么新算法比Bresenham算法更有效率.

关 键 词:光栅直线  水平线段  斜率  Bresenham算法

A Segments-dividing Line-drawing Algorithm
HUANG Xin.A Segments-dividing Line-drawing Algorithm[J].Journal of Hubei Institute for Nationalities(Natural Sciences),2012(1):98-100.
Authors:HUANG Xin
Institution:HUANG Xin(School of Information Engineering,Hubei University for Nationalities,Enshi 445000,China)
Abstract:A raster line with slope betwen \ is composed of a group of horizontal line-segments,and the lengths of these line-segments are closely related with the reciprocal of the line’s slope.This paper discussed the rules of these line-segments,and designed a new line-drawing algorithm.If the line is long and the slope small,the new algorithm is more efficient than Bresenham algorithm.
Keywords:raster line  horizontal line-segments  slope  Bresenham algorithm
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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