搜索资源列表
2008010
- 编写一个线段类 MyLine,要求如下: 主要属性有: x ,y ;类型为Point (查看API) 编写构造方法,如 MyLine(Point p1 , Point p2) 编写5个成员方法。如: 检查线段是否位于第一象限check()… 求线段的长度 length() … 判断两条直线是否相交(另一线段作为参数)。 编写一点到该线段(或延长线)的距离 其他方法。 注:编写方法时,考虑利用Point类的方法 编写测试程序-Write a segment
Test2
- 用JAVA语言实现计算两条直线是否有交点.-Whether the intersection of two straight terms.
Sign
- 使用java2D图形显示标记。直线,圆形,多边形。-Use java2D graphical display tag. Straight line, circular, polygonal.
JavaApplication1
- Java编写的小游戏,从几组图片中连续找出相同的图片,分等级-Written in Java games, a few Photos from the film straight to find the same picture, sub-grade
javaDrawer
- java 画图版 网络聊天 直线、圆、矩形、笔、文字, 图片的旋转,放缩,扭转-java version of Internet chat drawing a straight line, round, rectangular, pen, text, image rotation, zoom, reverse
proj_huitu
- 以最简单的方法实现java绘图板 含画直线,椭圆,橡皮擦的功能~~(学习心得交流"_"_"_") 说明:总共就这一个java文件-The easiest way to achieve java drawing board with drawing a straight line, oval, eraser function ~ ~ (learn to exchange experience "_"_"_") Descr iption: This is a java file on the tot
gobang
- 双人玩的Java五子棋游戏(内含JAR文件)-gobang-a traditional checker-type game in which the lining up of five pieces in a straight line scores victory
KyodaiSource
- Java的连连看代码,规则 选择两个点,如果两点的图片完全一样,并且两点之间可以用不超过3直线条线连接起来,则该两点可以消除。 计分 1、限定时间为地图中方块数 * 4,比如说有120个方块,就应该在480秒内完成,超过480秒没有时间奖励分 2、时间奖励分为剩余时间 * 2,即每提前一秒钟奖励2分 3、当已经选择点后,如果选择的第二个点与第一个点之间无法消除,扣1分,如果有解,则增加24分 4、使用刷新功能,系统会自动判断当前地图有无解,如果有解,扣8分,无
vijava2120100824src_jar
- VI Java API is a set of Java libraries that aim to ease the usage of VI SDK Web Services interfaces. It s now open-sourced under BSD license. -As a result, the application code using this API is much shorter (70 less) and much more readable
work2
- 定义直线类,并提供判断两条直线是否相交等功能。-Define a straight line class, and provide to determine whether two lines intersect and other functions.
ArcChaBu
- 任意三次曲线插补 任意三次曲线方程:y=(1/9)*Math.pow(x, 3)+(1/3)*Math.pow(x, 2)+(5/6)*x 设置起点坐标和终点坐标。 在面板上画出插补算法直线。 F>=0,x向+x方向前进一步,J7-- F<0,y向+y方向前进一步,J7-- 直到J7<0 J7=|xe-x0|+|ye-y0| -Any arbitrary cubic curve cubic interpolation equation:
MyLine
- 判断线段是否位于第一象限;计算线段长度;判断两条线段是否相交;计算点到线段(直线)的距离;用户交互给出线段和点的坐标-Determine whether the line in the first quadrant calculated length of the line to determine whether the intersection of two segments calculation points to the line (straight line) distance
3
- 实现在页面中拖动鼠标画出矩形,矩形的对角线为点击并拖动鼠标形成的直线线段。-Page, drag the mouse to achieve the draw rectangle, rectangle diagonal click and drag the mouse to form a straight line segment.
MyWindowsPlot
- 画图板程序,里面还有丰富的界面图标,并且可以画出特定形状如直线矩形圆形等,java 代码-Drawing board procedures, there is also a rich interface icon, and can draw a specific shape such as round and straight rectangles, java code
traffic
- 交通灯模拟管理系统 模拟实现十字路口的交通灯管理系统逻辑,具体需求如下: ? 异步随机生成按照各个路线行驶的车辆。 例如: 由南向而来去往北向的车辆 ---- 直行车辆 由西向而来去往南向的车辆 ---- 右转车辆 由东向而来去往南向的车辆 ---- 左转车辆 。。。 ? 信号灯忽略黄灯,只考虑红灯和绿灯。 ? 应考虑左转车辆控制信号灯,右转车辆不受信号灯控制。 ? 具体信号灯控制逻辑与现实生活中普通交通灯控制
myShape_xyl
- 实现了用Java画圆,画直线的功能。是直接调用的类库实现的,不是自己实现的-Achieved with the Java circle, draw a straight line features. Is a direct call to the class library, not their implementation
PaintBoard
- 画图板,可以打开文件,保存文件,以及画直线,园,矩形,可以设置画笔大小与颜色以及调色板。-Drawing board, you can open the file, save the file, and draw a straight line, Park, rectangle, you can set the brush size and color, and palette.
java456
- 五子连珠问题。在8*8的格子里,每一步随机产生3个7种不同颜色的彩球,每一步你可以移动一个彩球使其连成5个或5个以上的直线,就可以得分(注意只是其中program6)-Five or problems. 8* 8 of the grid, every step of randomly generated 3 of 7 different colors of balls, each step so you can move a ball into a 5 or even more than 5 s
traffic1
- 模拟实现十字路口的交通灯管理系统逻辑,具体需求如下: 1、异步随机生成按照各个路线行驶的车辆。 例如: 由南向而来去往北向的车辆---- 直行车辆 由西向而来去往南向的车辆---- 右转车辆 由东向而来去往南向的车辆---- 左转车辆 。。。 2、 信号灯忽略黄灯,只考虑红灯和绿灯。 ·3、应考虑左转车辆控制信号灯,右转车辆不受信号灯控制。 ·4、具体信号灯控制逻辑与现实生活中普通交通灯控制逻辑相同,不考虑特殊情况下的控制逻辑。
java
- 基本输入输出 编程实现Fibonacci数列, 继承和多态 编程绘制直线、各种矩形、各种椭圆以及多边形-Basic input-output programming Fibonacci sequence, inheritance and polymorphism programming to draw a straight line, all kinds of rectangles, ellipses, and polygons of various