登录
首页 » Java » GeometricVersion3

GeometricVersion3

于 2020-12-10 发布 文件大小:21KB
0 106
下载积分: 1 下载次数: 16

代码说明:

  课程设计 几何图形(满分50 分) 版本1:满分10 分 设计抽象类GeometricObject 及其子类Triangle 和Circle。 GeometricObject 类设计要求如下: ■ 一个名为color 的Color 类型的私有数据域,表示对象的颜色。 ■ 一个名为filled 的Boolean 类型的私有数据域,表示对象是否填充颜色。 ■ 一个名为dateCreated 的Date 类型的私有数据域,表示对象的创建日期。 ■ 一个无参构造方法。 ■ 一个能创建特定color 和filled 的有参构造方法。 ■ 相关数据域的访问器和修改器。 ■ 两个个名为draw 和erase 的抽象方法。 ■ 一个名为getArea 的抽象方法。 ■ 一个名为getPerimeter 的抽象方法。 ■ 重写toString 方法。 Triangle 类设计要求如下: ■ 三个名为side1、side2 和 side3 的double 类型的私有数据域表示三角形的三条边。它 们的默认值是1.0。要求三个数据域保留2 位小数。 ■ 一个无参的构造方法创建默认三角形。 ■ 一个能创建带指定side1、side2 和 side3 的有参构造方法。 ■ 所有三个数据域的访问器和修改器方法。 ■ 父类抽象方法的实现。 ■ 重写toString 方法。 Circle 类(Curriculum Design Geometry (out of 50) Version 1: 10 points Design an abstract class and its subclasses GeometricObject Triangle and Circle. GeometricObject class design requirements are as follows: ■ a named color of the Color type private data field that indicates the object s color. ■ a Boolean type called filled private data field that indicates whether the object fill color. ■ Date type named dateCreated private data field, which means that the object was created. ■ a no-argument constructor. ■ one can create a specific color and filled in with arg constructor. ■ Related data field accessor and modifier. ■ two months called draw and erase the abstract methods. ■ an abstract method named getArea. ■ an abstract method named getPerimeter. ■ overridden toString method. Triangle class design requirements are as follows: ■ three named side1, side2 and a double side3 private data field indicates the type of triangle with three sides. It Our default value is 1.0. Requires)

文件列表:

GeometricVersion3
.................\.classpath,295,2013-05-18
.................\.gitignore,5,2013-05-18
.................\.project,376,2013-05-18
.................\bin
.................\...\GeometricVersion3
.................\...\.................\Circle.class,1747,2013-06-19
.................\...\.................\GeometricObject.class,238,2013-06-19
.................\...\.................\GeometricVersion3$1.class,1843,2013-06-19
.................\...\.................\GeometricVersion3$2.class,793,2013-06-19
.................\...\.................\GeometricVersion3$3.class,1420,2013-06-19
.................\...\.................\GeometricVersion3$4.class,793,2013-06-19
.................\...\.................\GeometricVersion3$5.class,982,2013-06-19
.................\...\.................\GeometricVersion3$6.class,984,2013-06-19
.................\...\.................\GeometricVersion3$7.class,983,2013-06-19
.................\...\.................\GeometricVersion3$8.class,985,2013-06-19
.................\...\.................\GeometricVersion3$9.class,928,2013-06-19
.................\...\.................\GeometricVersion3$DrawArea.class,1604,2013-06-19
.................\...\.................\GeometricVersion3.class,4180,2013-06-19
.................\...\.................\test.class,506,2013-06-19
.................\...\.................\Triangle.class,1778,2013-06-19
.................\src
.................\...\GeometricVersion3
.................\...\.................\Circle.java,1587,2013-05-29
.................\...\.................\GeometricObject.java,462,2013-05-29
.................\...\.................\GeometricVersion3.java,6418,2013-05-29
.................\...\.................\test.java,294,2013-05-28
.................\...\.................\Triangle.java,1596,2013-05-29

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

发表评论

0 个回复

  • showline
    图像检测,目标检测简单来说就是找出图像中的目标并给定目标的位置,一般用矩形框定位出目标(In image detection, target detection is simply to find out the target in the image and give the location of the target. In general, the rectangular box is used to locate the target)
    2019-04-12 16:18:23下载
    积分:1
  • jiyuzuixiaoerchengfagaijindesuijituoyuanjiance
    为了提高数字图像中椭圆检测的效率和准确性,提出了一个基于最小二乘法的改进的随机椭圆检测算法. 该算法随机选取图像中的3 个边缘点,在以这3 个点为中心的窗口内,从边缘点中拟合出可能椭圆,并通过随机选 取的第4 个边缘点来确认可能椭圆. 利用直接最小二乘法椭圆拟合的特性,引入可能椭圆边缘点收集和椭圆重新 拟合的迭代过程来提取最终的椭圆参数. 通过对含有不同噪声的仿真图片和包括残缺椭圆的实际图片的实验表 明,新算法的改进是有效的. 与原算法相比,新算法降低了对参数的依赖性,提高了检测的速度、稳定性和准确性, 同时保留了原算法的抗噪声能力.(: An imp roved randomized ellip se detection algorit hm based on least square approach was proposed to enhance t he efficiency and accuracy of ellip se detection in digital images. This algorit hm randomly se2 lect s three edge point s in t he image , and t hen uses least square approach to fit all t he edge point s in three windows , which are defined by t he t hree edge point s. The forth edge point is randomly selected to judge whet her a possible ellip se exist s in t he image. Utilizing the characteristic of direct least square fit ting of ellip se , an iteration process of edge point collecting and ellip se refit ting of possible ellip se was int roduced to ext ract t he final ellip se’s parameters. Artificial images wit h different level s of noise and nature images containing incomplete ellip ses were employed to test t his algorithm. Experimental result s show that t he improvement s are notable. Compared with the original algorit hm , t he propo sed algorit hm reduces)
    2020-11-01 11:19:55下载
    积分:1
  • chepai
    车牌识别 里面包含了程序源代码还有图像,对彩色图片识别大有用处 (chepai shibie)
    2009-12-26 11:38:04下载
    积分:1
  • 用模糊C均值算法实现分割 fcm
    用模糊C均值算法实现图像分割 ,文件夹中附带有图片和matlab的源程序,已经验证过可以实现对图片的分割 (Fuzzy C-means algorithm for image segmentation, there is a folder with pictures and matlab source, has already been verified can be achieved on image segmentation)
    2020-06-29 09:00:01下载
    积分:1
  • AGAST-corner-detector
    多尺度快速角点检测算法(FAST).Adaptive and generic corner detection based on the accelerated segment test. 出处 Computer Vision–ECCV 2010(Multi-scale fast corner detection algorithm (FAST) Adaptive and generic corner detection based on the accelerated segment test. Computer Vision-ECCV 2010)
    2020-09-21 18:27:51下载
    积分:1
  • CIE坐标计算
    用于荧光光谱的CIE色坐标计算,直接导入光谱txt即可(CIE color coordinate calculation for fluorescence spectrum, directly into the spectrum txt)
    2018-04-02 15:46:57下载
    积分:1
  • demo
    lejos ev3 project the control interface and move
    2016-09-04 22:19:31下载
    积分:1
  • adapthisteq
    说明:  对限制对比度自适应直方图均衡化算法adapthisteq进行了解释。可用于图像增强(Contrast to the limited adaptive histogram equalization algorithm adapthisteq is explained. Can be used for image enhancement)
    2021-03-18 11:29:21下载
    积分:1
  • ImageQuilting
    实现image quilting算法进行纹理合成。(implement of Texture synthesis)
    2017-09-29 16:38:45下载
    积分:1
  • 基于QT和EasyPR的车牌识别软件
    【实例简介】转自CSDN分享,使用时只需改opencv路径,可成功编译。
    2021-06-15 00:31:18下载
    积分:1
  • 696522资源总数
  • 104047会员总数
  • 21今日下载