文件名称:line
介绍说明--下载内容均来自于网络,请自行研究使用
1、编写函数LineDDA(),实现任意斜率直线的扫描转换,算法为DDA算法;
2、编写函数LineBre(),实现斜率任意斜率直线的扫描转换,算法为改进的Bresenhan算法;
3、编写函数LineMidPointBre(),实现任意斜率直线的扫描转换,算法为中点Bresenhan算法。-1, write the function LineDDA (), arbitrary slope of the line scan conversion algorithm to DDA algorithm
2, write the function LineBre (), to achieve any slope slope of the line scan conversion algorithm to improve the Bresenhan algorithm
3, write functions LineMidPointBre (), arbitrary slope of the line scan conversion algorithm midpoint Bresenhan algorithms.
2、编写函数LineBre(),实现斜率任意斜率直线的扫描转换,算法为改进的Bresenhan算法;
3、编写函数LineMidPointBre(),实现任意斜率直线的扫描转换,算法为中点Bresenhan算法。-1, write the function LineDDA (), arbitrary slope of the line scan conversion algorithm to DDA algorithm
2, write the function LineBre (), to achieve any slope slope of the line scan conversion algorithm to improve the Bresenhan algorithm
3, write functions LineMidPointBre (), arbitrary slope of the line scan conversion algorithm midpoint Bresenhan algorithms.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
line.cpp