搜索资源列表
DDA
- 用 DDA算法算法实现直线段的绘制。 已知直线段的两个端点坐标分别为 P1(0,0) 和 P2(600,200),请用 DDA 算法 绘制出连接 P1 和 P2 的线段。背景要求为黑色,线段要求为白色。 -DDA algorithm algorithm line segment drawn. The known coordinates of the two endpoints of the line segment P1 (0,0) P2 (600,200), respective
cohen_sutherland_clipping
- ohen-sutherland直线裁剪算法(The algorithm also called the encoding algorithm, the clipping window four edges where the line can put the plane into 9 regions, each region of the encoding including four is inside the 0 and 1 (for example, x coordinates less