Description: 基于VC++6.0实现直线段的Cohen-Sutherland算法裁剪.
操作说明:
打开裁剪.EXE,点击画矩形或画直线,就可以进行画矩形或直线;然后点击裁剪,就可以进行直线段的Cohen-Sutherland裁剪。
-based VC 6.0 line of the Cohen-Sutherland algorithm cutting. Operation Note : Open cut. EXE, it painted rectangular or line drawing, painting can be linear or rectangular; Then click cutting, can proceed straight to the Cohen-Sutherland cutting. Platform: |
Size: 1753088 |
Author:陈守勇 |
Hits:
Description: 多边形裁剪程序:用到的是比较常见的裁剪算法:Sutherland-Hodgman算法。本程序中的裁剪顺序为左边、下边、右边、上边,那么裁剪是这样进行的:原待裁剪多边形作为输入多边形被裁剪矩形的左边裁剪,然后输出的裁剪结果作为下边裁剪的输入多边形,……,依次类推,直到最后一边矩形上边裁剪结束。-Polygon clipping process: it is more commonly used method of cutting: Sutherland-Hodgman algorithm. This procedure of cutting the order for the left, bottom, right, top, then the cutting is carried out: the original clipping polygon to be clipped polygon as input the left side of the rectangular cutting, then cutting output cut as the bottom of the input polygon, ... ... , and so on, until the last end side of the rectangular cut above. Platform: |
Size: 65536 |
Author:tomomoon |
Hits:
Description: 图形学VC++源代码 有课本得到 希望大家指导-Graphics VC++ source code has been hope that the guidance of textbooks Platform: |
Size: 48128 |
Author:willion |
Hits: