Description: 程序运行Cohen-Sutherland线段裁剪算法 ,所用坐标系为笛卡尔直角坐标系.
起始状:用户输入所画线段的起点和终点坐标
结束状态:程序打印出裁剪以后的线段-Program runs Cohen-Sutherland Line Clipping algorithm, used for the Cartesian coordinates Cartesian coordinate system. Start-shaped: the user to enter the draw line segments start and end coordinates of the end of state: The procedure to print out after cutting the line segment Platform: |
Size: 4096 |
Author: |
Hits:
Description: 了解二维图形裁剪的原理(点的裁剪、直线的裁剪、多边形的裁剪),利用VC+OpenGL实现直线的裁剪算法。
2.实验内容:
(1) 理解直线裁剪的原理(Cohen-Surtherland算法、梁友栋算法)
(2) 利用VC+OpenGL实现直线的编码裁剪算法,在屏幕上用一个封闭矩形裁剪任意一条直线。
(3) 调试、编译、修改程序
-Understanding of the principles of cutting two-dimensional graphics (point of cutting, cutting a straight line, polygon clipping), the use of VC+ OpenGL to achieve a straight line cutting algorithm. 2. Experimental contents: (1) understand the principles of cutting a straight line (Cohen-Surtherland algorithm, You-Xin Liang Dong algorithm) (2) the use of VC+ OpenGL to achieve a straight line cutting the coding algorithm, on the screen in a closed arbitrary rectangular cutting a straight line. (3) debug, compile, modify the program Platform: |
Size: 566272 |
Author:jing |
Hits:
Description: This a Cohen-Sutherland line clipping program. It shows the clipping of a line using OpenGL. -This is a Cohen-Sutherland line clipping program. It shows the clipping of a line using OpenGL. Platform: |
Size: 5814272 |
Author:Juan |
Hits:
Description: 利用OpenGL实现Cohen-Sutherland裁剪算法(编码裁剪算法),是最早的直线段裁剪算法。-The use of OpenGL implementations Cohen-Sutherland clipping algorithm (coded clipping algorithm), is the first straight line clipping algorithm. Platform: |
Size: 2048 |
Author:陈韬 |
Hits:
Description: This a C++ program which shows the Cohen-Sutherland Line Clipping Algorithm using Opengl.-This is a C++ program which shows the Cohen-Sutherland Line Clipping Algorithm using Opengl. Platform: |
Size: 1024 |
Author:shakith |
Hits:
Description: OpenGL Cohen_Sutherland 裁剪算法,使用矩形截取线段,并用不同颜色表示-OpenGL Cohen Sutherland clipping algorithm, using a rectangular intercept line, and is represented by a different color Platform: |
Size: 215040 |
Author:淳于 |
Hits: