登录
首页 » Java » GeometricVersion3

GeometricVersion3

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

  • processing5
    图像基础处理——透视矫正的程序代码,把图像还原(Image basic processing- perspective correction code to restore image)
    2013-04-10 11:29:49下载
    积分:1
  • ColorDWT
    彩色图像的DWT变换及水印提取,可以成功实现(Color image DWT watermark embedding and extraction (attack))
    2015-06-08 14:36:07下载
    积分:1
  • libGMM
    说明:  matlab2016b编写的调用了库函数的混合高斯背景建模源代码。(The source code of Mixture Gauss Background Modeling which calls library function is written by MATLAB 2016b.)
    2019-06-13 20:05:01下载
    积分:1
  • LBP.cpp
    LBP算子的实现源代码,可以根据LBP算子来对2张图片的相似度进行比较,值越小,图像越相似。(LBP operator realization of the source code, you can compare LBP operator to the similarity of the two pictures, the smaller the value, the more similar the image.)
    2021-01-19 17:18:41下载
    积分:1
  • Three-dimensional-algorithm
    关于MC三维重建算法的二义性消除的文章,很好的消除了MC算法中的二义性(it s the article about Three-dimensional reconstruction algorithm to eliminate ambiguity in MC)
    2014-01-17 13:19:26下载
    积分:1
  • Imagesregistered
    实现图像配准和计算配准均方根误差的功能,人工选取控制点,包括四种转换方法。(Achieve image registration and registration RMSE calculation function, manual selection control points, including four kinds of conversion methods.)
    2021-02-24 23:59:39下载
    积分:1
  • single_phase_grid_pv
    单相并网光伏逆变系统仿真,带最大功率点跟踪(PV system is connected to grid through single phase inverter)
    2013-09-03 13:37:00下载
    积分:1
  • whitebalanceandpaper
    白平衡论文及程序和实验图片,非常好,值得下载(White papers and procedures and experimental images, very good, worth downloading)
    2008-03-30 17:34:23下载
    积分:1
  • seg
    在MATLAB下的红外图像检测源码(In MATLAB under the infrared image detection source)
    2008-04-28 14:39:12下载
    积分:1
  • canny_edge1
    改进非极大抑制的CANNY算子检测代码,能够比原来的CANNY算子更准确(Improved CANNY operator detection code for non-maximal suppression can be more accurate than the original CANNY operator)
    2017-05-22 16:33:24下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载