搜索资源列表
exportDllNestPolygon
- 本dll文件实现了点,线段,直线,多边形的类,完成了多边形的一些常用方法:求面积,判断是否是简单多边形,求多边形并,判断两个多边形的位置关系等方法。-the dll file to achieve a point, line, line, polygon category, completed the polygons of some commonly used methods : for the area to determine whether it is simple polygon, a
20050924165256_cat
- 裁剪算法源码 一个简单的Cohen-Sutherland线段裁剪算法的实现程序共享给大家-cutting a simple algorithm source of Cohen-Sutherland line cutting algorithm implementation procedures for everyone to share
在图像Buf上画线段
- 在原始图像buf上画直线的算法,便于观察调试,无错误-the original image buf painted linear algorithms facilitate the observation of debugging, error-free
IanPolyganfill1022
- 很有名的扫描线填充算法实现。可以用左键画完所有的封闭线段,然后点击右键填充所有封闭区域-famous scanning lines filling algorithm. Left unfinished can use all the closed segment, then right-click to fill all the closed region
HoughTrans
- 自己写的Hough Transform检测直线和圆的代码,直线检测做了点小改进,可以检测线段,但只能检测一个圆和一条直线,希望对初学者能有帮助-wrote Hough Transform detection of linear and circular code Line Detection done a small improvement can be detected line, but only detected a circle and a straight line. hope to
2D_LineClipping
- 本程序实现了图形学中的二维线段裁剪算法,VC6工程-the realization of the two-dimensional graphics Line Clipping algorithm works VC6
daimacaijian
- 实现了直线的裁剪算法,得到区域里需要的线段-achieved a straight cut algorithm, is a region where the line needs
GetIntersectPoint
- 该程序用语计算两线段的焦点。分别传入两线段的端点坐标,返回交点坐标。
tuxingjiancai
- 图形裁剪 对直线段和多边形的剪裁 多边形和线段已经定制
3
- 实现对线段的裁剪和对多边形的裁剪 是我们试验课通过的完整代码
2ddraw
- 计算机图形学大作业,一、 调用画点的函数,用DDA、中点算法画直线和中点算法画圆和椭圆。二、多边形扫描转换算法和区域填充算法实现。三、线段裁剪和多边形裁剪算法的动画演示实现。四、交互式的二维直线求交:如果存在交点,用实心圆显示交点,并用文字显示其坐标。五、自行车行走和绕固定点旋转的自旋转物体动画。六、简单三维图形系统:凸多面体的建模、透视投影,隐藏面的消除及基本图形变换(平移、旋转、缩放)。七、交互式Bezier曲线的输入绘制程序实现
test antialiasing
- 一个简易的反走样线段绘制程序,给出了一个通用的wu象素解决方案。程序启动后,在窗口上任一点点击一下,然后分别用钩选反走样和不钩选可以绘制直线,可以看见反走样的效果。-a simple line drawing anti-aliasing procedures, is a common wu pixel solution. After commencement, 1:00 office window click, and then using anti-aliasing Senators and
MatlabFns
- 在matlab下进行图像处理的函数库,包含边缘线段拟合,透视变换,立体图像复原等toolbox中所没有的功能,详见index.html-in Matlab under image processing functions, including marginalized segment fitting, perspective transformation, three-dimensional images rehabilitation toolbox are not functional, as
基本画线实现算法
- 新建一个C++Builder项目 设置Form1的font为“宋体,小五” 在Form1中添加一个TRadioGroup组件rgDrawWhat供选择画什么图形;添加一个Tbutton组件colorBtn和一个TcolorDialog组件ColorDialog1;添加一个TImage组件Image1。 3、 将当前项目保存在自己实验文件夹的exp1子文件夹中(以防错误操作而前功尽弃)。 编写colorBtn的OnClick事件,激活ColorDialog1,并获取所选择的颜色: if (Col
两线段的关系
- vb 计算两条线段之间的关系
Liang-Barsky_Line_Clipping
- 任意指定一个矩形窗口和一条待裁剪的线段,用Liang-Barsky 法进行裁剪,画出裁剪后的线段-Arbitrarily specify a rectangular window and a line segment to be cut, crop, draw the line segment cropped Liang-Barsky
Cohen-Sutherland
- 用C语言实现了Cohen-Sutherland算法,代码可以直接复制到tc里面运行,很好实现了线段裁剪-With the C language to implement Cohen-Sutherland algorithm, the code can be directly copied to the tc run inside, well realized Line Clipping
CalculationGeometry
- ㈠ 点的基本运算 1. 平面上两点之间距离 1 2. 判断两点是否重合 1 3. 矢量叉乘 1 4. 矢量点乘 2 5. 判断点是否在线段上 2 6. 求一点饶某点旋转后的坐标 2 7. 求矢量夹角 2 -I-point basic computing 1. Planar distance between two points on 1 2. To determine whether the coincidence of two 1 3. Vector
poly_cross
- 求两个多变行是否相交。里面用到了线段是否相交函数,希望对大家有用。-Seek whether the intersection of two changeable. Whether it used the segment intersection function, useful for all of us hope.