登录
首页 » Java » GeometricVersion3

GeometricVersion3

于 2020-12-10 发布 文件大小:21KB
0 136
下载积分: 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 个回复

  • SURF
    图像处理,matlab文件,利用SURF进行图像拼接,完成图像配准(Image processing, matlab files, image stitching using SURF, image registration completed)
    2020-06-20 04:20:02下载
    积分:1
  • work
    垂直投影算法。可以直接在matlab上跑(err)
    2008-06-17 18:59:35下载
    积分:1
  • raw2rgb
    读取raw图,并转换为rgb图,显示转换后的rgb图(Figure raw read and convert rgb showing the converted diagram rgb)
    2021-02-05 10:59:57下载
    积分:1
  • bianjieXY
    程序可以提取点云数据的特征点,提取三维散乱点云的边界(Program point cloud data can be extracted feature points extracted boundary of D Scattered Clouds)
    2013-09-09 20:55:05下载
    积分:1
  • 552322224
    动画框画直线,易语言写的图形图像编程,很好的参考。(Animation frame painting line, easy graphic language programming, a good reference.)
    2013-09-17 11:58:02下载
    积分:1
  • speckel-reduction
    matlab code for ultrasound image noise reduction
    2012-05-02 02:03:21下载
    积分:1
  • singgle_picture
    说明:  基于单幅图的非均匀校正算法,包括OMP和GPSR的重构算法(Nonuniformity correction algorithm based on single image)
    2020-04-26 14:36:44下载
    积分:1
  • txpz
    图像配准的很好的程序,里面用到粒子群算法(image registration is a good procedure, which used PSO)
    2007-01-08 11:18:10下载
    积分:1
  • CS_OMP
    说明:  matlab实现基于稀疏表示的高光谱图像分类(Hyperspectral image classification based on sparse representation using MATLAB)
    2021-01-08 16:17:13下载
    积分:1
  • mohu_img_enhance
    模糊集图像增强:设计隶属度函数将图像从空间域变换到模糊集域;设计模糊增强算子,在模糊集域对图像进行处理;根据隶属度函数重新将图像从模糊集域变换到空间域。(Fuzzy image enhancement: Designing the membership function of the image from the spatial domain to the fuzzy set domain design fuzzy enhancement operator in fuzzy set domain for image processing membership function according to re-image from the fuzzy set domain to the spatial domain .)
    2021-01-26 23:18:41下载
    积分:1
  • 696518资源总数
  • 104347会员总数
  • 12今日下载