搜索资源列表
hueituchenxudaquan
- 程序的功能: 一、用两种不同算法(DDA法和中点法)画任意直线,输入方式有鼠标取点点法,和对话框输入直线端点法。直线颜色在画线前任意选取。 二、直线的属性控制。可以从对话框中任意输入线宽画直线。还有画虚线的功能,你可以输入虚线中实线部分的长度和空白间隔的长度来画虚线。 三、用两种算法(中点法和正负法)画任意圆。 四、画任意椭圆。画椭圆时限任意取两点确定一矩形,由该矩形确定椭圆的大小。 五、多边形填充。用鼠标取点画任意多边形,可选取任意颜色去填充多边形区域。 六
erweicaijian.rar
- 实现鼠标点击绘制出矩形和直线,然后用梁友栋算法进行的二维图形裁剪,The realization of a mouse click rectangle and draw a straight line, and then You-Xin Liang Dong algorithm using two-dimensional graphics cutting
shiyan4
- 了解二维图形裁剪的原理(点的裁剪、直线的裁剪、多边形的裁剪),利用VC+OpenGL实现直线的裁剪算法。 2.实验内容: (1) 理解直线裁剪的原理(Cohen-Surtherland算法、梁友栋算法) (2) 利用VC+OpenGL实现直线的编码裁剪算法,在屏幕上用一个封闭矩形裁剪任意一条直线。 (3) 调试、编译、修改程序 -Understanding of the principles of cutting two-dimensional graphics (p
liangyoud
- 该程序在C环境下运行,实现了梁友栋-Barsky 线段裁剪算法。-This process is running at the c circumstance,and it accomplished the youdongliang-Barsky clipping algorithm of line .
lyd
- 这是一个计算机图形学中关于梁友栋算法实现的程序-This is a computer graphics on the friends of Liang Dong algorithm procedures
liangyoudong
- 在VC++环境下实现实现梁友栋裁剪算法,-You-Xin Liang Dong cutting algorithm to achieve
Barsky
- 二维裁剪 梁友栋-Barsky算法 用c语言写的-Building two-dimensional cut-You-Xin Liang-Barsky algorithm written using c language
include1
- 请分别给出直线的三种不同位置情况,测试实验代码是否存在问题,有的话请调试改正。 可能的话,可以尝试实现梁友栋裁剪算法。-Please give a straight line, respectively, three different locations, the test code to test if there is a problem, so please correct debugging. If possible, Dong LIANG You can try to achieve
cut
- 在定义了窗口之后,我们只需将窗口内的图形显示出来,对于窗口之外的图形我们是不关心的。因此,必须将窗口外的图形裁剪下去。在本资料中,实现如下对直线段进行裁剪的算法:Cohen-Sutherland算法、中点分割算法、梁友栋-Barsky算法,并且利用Sutherland-Hodgman算法实现对多边形的裁剪,最后,实现当裁剪域是任意凸多边形时的裁剪算法。-In the definition of the window, we simply window graphics are displayed
cutout
- 在定义了窗口之后,我们只需将窗口内的图形显示出来,对于窗口之外的图形我们是不关心的。因此,必须将窗口外的图形裁剪下去。在本资料中,实现如下对直线段进行裁剪的算法:Cohen-Sutherland算法、中点分割算法、梁友栋-Barsky算法,并且利用Sutherland-Hodgman算法实现对多边形的裁剪,最后,实现当裁剪域是任意凸多边形时的裁剪算法。-In the definition of the window, we simply window graphics are displayed
liang1
- c语言实现的梁友栋裁剪算法,在屏幕上点击两个点,按c键进行裁剪-c language of the Liang Youdong clipping algorithm, two points on the screen click, press the c key to tailoring
CGPainter
- 一个二维裁剪算法-用梁友栋-barsky算法实现直线段相对于给定窗口的裁剪-A two-dimensional cutting algorithm- with Liangyou Dong-barsky algorithm relative to a given straight line cut the window
Three
- 计算机图形中的裁剪,包括梁友栋裁剪,中点分割算法,Cohen-Sutherland算法-In computer graphics clipping, including LiangYouDong cutting, midpoint segmentation algorithm, Cohen-Sutherland algorithm
caijiansuanfa
- 计算机图形的裁剪算法C语言程序代码 包括多边形裁剪 梁友栋裁剪等-Cut algorithm of computer graphics C code, including clipping Liangyou Dong cutting
chuangkoucaijian
- 用梁友栋—baskery算法实现窗口的裁剪 -Liang Dong-baskery algorithm with clipping window
include1
- 请分别给出直线的三种不同位置情况,测试实验代码是否存在问题,有的话请调试改正。 可能的话,可以尝试实现梁友栋裁剪算法。-Please give a straight line, respectively, three different locations, the test code to test if there is a problem, so please correct debugging. If possible, Dong LIANG You can try to achieve
cut
- 交互式画线段,并实现对直线段的裁剪算法(Cohen-Sutnerland算法与梁友栋-Barskey算法)-Interactive painting line and clipping algorithm to achieve the straight section (Cohen-Sutnerland algorithm 梁友栋-Barskey algorithm)
算法实现
- Cyrus和Beck用参数化方法提出了比Cohen-Sutherland更有效的算法。后来梁友栋和Barsky独立地提出了更快的参数化线段裁剪算法,也称为Liany-Barsky(LB)算法。(Cyrus Beck Cohen-Sutherland Barsky Liany-Barsky Cyrus Beck Cohen-Sutherland Barsky Liany-Barsky)
lab8
- C++简单实现编码裁剪算法和梁友栋裁剪法(Simple c + + coding for cutting algorithm and Liang Youdong cutting method)
梁友栋裁剪算法
- (1)按下键盘"1",可用鼠标在窗口画若干任意条直线。如图7-1所示。 (2)按下键盘"2",可用鼠标在窗口添加一个任意大小的裁剪窗口 (3) 一旦窗口画完(鼠标松开)即完成直线的裁剪,分别使用梁友栋裁剪算法 和 编码裁剪算法实现裁剪效果 ,如图7-2 ,7-3所示。 (4)重新按“1”,“2”又可多次重复操作。 提示:画矩形结束时,同时把若干条直线的起点坐标和终点作为参数循环调用裁剪算法,达到线段裁剪的目的。