登录
首页 » Java » DrawPaintCode

DrawPaintCode

于 2020-06-30 发布 文件大小:224KB
0 320
下载积分: 1 下载次数: 187

代码说明:

  代码实现了计算机图形学中画线算法(包括DDA,中点法,Bresenham)以及画圆算法(包括中点法,Bresenham)以及多边形的填充(包括边填充,种子填充,扫描填充)多边形的二维变换,多边形的裁减等功能.根据不同的控件进行选择,然后实现各算法.(code realized the computer graphics line drawing algorithm (including DDA, the midpoint method, Bresenham) and Circle algorithm (including midpoint, Bresenham) and polygon filling (including edge filling, seed filling, Filled with scanning) transform two-dimensional polygon, polygon reduction, and other functions. According to various control options. then the achievement of the algorithm.)

文件列表:

DrawPaintCode
.............\graphics0
.............\.........\graphics0.jpx
.............\.........\graphics0.jpx.local
.............\.........\src
.............\.........\...\2真实感图形的计算机生成.vip
.............\.........\...\fractal.txt
.............\.........\...\graphics0
.............\.........\...\.........\about.png
.............\.........\...\.........\bezierSurfPanelDX.java
.............\.........\...\.........\CircleDx.java
.............\.........\...\.........\closeFile.png
.............\.........\...\.........\CurvePanel.java
.............\.........\...\.........\DrawPanel.java
.............\.........\...\.........\Frame.java
.............\.........\...\.........\Frame_AboutBox.java
.............\.........\...\.........\graphics2D.java
.............\.........\...\.........\help.png
.............\.........\...\.........\LineDx.java
.............\.........\...\.........\LineStyle.java
.............\.........\...\.........\Object2D.java
.............\.........\...\.........\openFile.png
.............\.........\...\.........\PolygonDx.java
.............\新建 文本文档.txt

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • TUGlabExtended
    进化博弈论算法实现,有资料以及算法包。可以实现纳什均衡求解(evolutionary game theory)
    2010-12-28 11:35:48下载
    积分:1
  • tuxingxuedazouye
    说明:  1. 做一个集成的图形界面的程序,可调用每一次作业子程序。 2. 调用画点的函数,用DDA、中点算法画直线和中点算法及正负法画圆和抛物线。 3. 交互式的二维直线求交:如果存在交点,用实心圆显示交点,并用文字显示其坐标。 4. 用动画实现二维图形变换的各种算法,实现对指定形体的平移、旋转和缩放。(包括自行车行走和绕固定点旋转的自旋转物体动画。) 5. 线段裁剪和多边形裁剪算法的动画演示实现。(两种线段裁剪算法和H-S多边形逐边裁剪算法)多边形裁剪算法的动画演示要求先画出一个封闭的多边形,再画矩形的裁剪窗口,然后选择裁剪按钮(或命令),按下“上边裁剪”按钮(或执行“上边裁剪”命令),多边形相对裁剪窗口的上边进行裁剪,显示上边裁剪后的多边形,依此进行其它各边裁剪。 6. 两种扫描多边形扫描转换算法实现(扫描线算法为必做,基于求余运算的边缘填充和边标志算法任选一种); 7. 4连通区域的递归种子填充算法,和扫描线种子填充算法,要求种子点(x,y)可交互输入)。 8. 简单三维图形系统:凸多面体的建模、透视投影,隐藏面的消除及基本图形变换(平移、旋转、缩放)。 9. 交互式Bezier曲线的输入绘制程序实现 (1. So an integrated graphical interface procedures, which call for each operation subroutine. 2. Calling the painting point function, with DDA, the midpoint algorithm painting line and the midpoint algorithm and France Circle and the positive and negative parabola. 3. Interactive 2D linear intersection : If there intersection with a solid circle indicates Nodal and writing to demonstrate its coordinates. 4. Using 2D animation graphics transform algorithms to achieve the specified physical translation, rotation and scaling. (Including walking and cycling around the fixed point of rotating objects from the rotating animation.) 5. Line cutting and polygon clipping algorithm to achieve the animation demo. (Two segments cutting algorithm and H-S-by-side polygon clipping algorithm) polygon clipp)
    2020-11-09 20:49:46下载
    积分:1
  • 123125414
    一个很有用的微型燃气轮机的模型,推荐pscad初学者使用(Model microturbine a useful, recommended for beginners pscad)
    2020-10-15 19:47:29下载
    积分:1
  • original-pic
    用mtlab编程绘制光学系统的光学传递函数mtf曲线(we can plot MTF curve by MATLAB )
    2021-04-26 12:28:46下载
    积分:1
  • plot_s_M
    用于根据耦合矩阵绘制S曲线,用不同的颜色线条区分(For the S-curve is drawn according to the coupling matrix to distinguish between using a different color lines)
    2012-06-05 17:14:53下载
    积分:1
  • MING
    自动绘制保护煤柱,CAD 二次开发的,输入参数后,自己就绘制出来了(Automatic drawing protection pillar, CAD secondary development)
    2013-11-12 11:27:19下载
    积分:1
  • HVDC5_mim
    PSCAD HVDC transmission system
    2015-06-06 20:13:25下载
    积分:1
  • ratedistortion
    伯努利信源在汉明失真下的限失真函数,函数值计算,曲线绘制(Bernoulli source in the Chinese Ming distortion of the limited distortion under function curve)
    2020-12-11 22:49:16下载
    积分:1
  • svc-dvr
    PSCAD simulation.Investigation D-STATCOM and DVR Operation for Voltage Control in Distribution Networks with a New Control Strategy
    2016-08-11 16:45:55下载
    积分:1
  • jxfmjjs
    解析法面积计算,读数据文件,计算后生成结果文件,任意多边形的顶点坐标,然后 计算出面积是平方米和公顷(analytical calculation, reading data files, calculation results generated documents, arbitrary polygon vertices, then compute the area of square meters and ha)
    2020-06-28 17:40:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载