登录
首页 » Java » GeometricVersion3

GeometricVersion3

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

  • lrr
    matlab版的低秩表示代码,低秩表示是低秩分解的改进型(Matlab version of low rank representation code, low rank representation is an improved low rank decomposition.)
    2018-07-04 21:59:07下载
    积分:1
  • HarrisJiaoDianJianCe
    一套关于matlab角点提取的程序,可用于张正友传统的相机标定法提取棋盘格角点。(Set matlab corner extraction procedures, Zhang Zhengyou traditional camera calibration method can be used to extract the checkerboard corners.)
    2013-04-17 13:31:33下载
    积分:1
  • calibration
    摄像头的标定,作为一般图像处理的第一步,显得尤为重要(Calibration of the camera, as a first step in the general image processing, it is particularly important)
    2013-03-17 20:25:05下载
    积分:1
  • cloud_remove
    遥感图像除云软件,原理是图像同时期替换掉有云区域,使用IDL语言编写(remove cloud from remote sensing image)
    2020-12-13 16:09:14下载
    积分:1
  • HDRImaging
    HDR图像生成的算法,很实用和有效。利用多帧不同曝光时间的图像合成HDR的图像。(Algorithm of HDR image generation)
    2017-10-15 19:02:48下载
    积分:1
  • MCA
    关于形态分量分析(mca)的英文文章,共六篇,pdf(Morphological Component Analysis )
    2012-02-21 11:15:04下载
    积分:1
  • bandfilter
    一个计算频率域的带通滤波器,图像处理中常用的滤波方式之一。(Computes frequency domain band filters)
    2014-11-10 00:48:44下载
    积分:1
  • cstr
    本ACIS几何造型平台组件提供基本的拓扑构造,线框构造和编辑,性质分析(面积长度和质量等)等功能。(the ACIS geometric modeling platform components provide basic topological structure, wireframe construction and editing, Analysis (area of length and quality, etc.) and other functions.)
    2007-03-03 16:29:44下载
    积分:1
  • aaa
    1.图像尺度转换,降低图像分辨率,采用局部平均法、中值法;2.图像质量评价:均值、标准差、信息熵、平均梯度(1.Image scaling, reducing image resolution, using a local average、median method;2.Image quality assessment: the mean, standard deviation, entropy, average gradient )
    2011-11-25 17:41:11下载
    积分:1
  • FastICA_23
    遥感影像处理,可以用于盲源信号分离,快速高效的独立成分分析方法(Remote sensing image processing, can be used for blind source separation, rapid and efficient method of independent component analysis)
    2008-06-07 23:03:13下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载