登录
首页 » Java » GeometricVersion3

GeometricVersion3

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

  • zhongxin
    matlab程序,找一幅图像的几何重心和灰度重心以及一个典型滤波器(Find focus)
    2021-04-09 17:29:01下载
    积分:1
  • winform 垂直交错效果显示图像 例子
    winform 垂直交错效果显示图像 例子
    2013-06-01下载
    积分:1
  • wavepaste
    WAVEPASTE将系数放在小波分解结构中。(WAVEPASTE Puts coefficients in a wavelet decomposition structure.)
    2019-05-11 15:54:06下载
    积分:1
  • genzong2
    实验证明,本方案对于帧间位移较为明显的单个平移运动刚体,特别是外部轮廓较为平滑的物体具有良好的分割与跟踪效果。(experiment proved that the program for the inter-frame displacement is quite obvious that the single translation rigid movement, particularly smooth external contours of objects more good segmentation and tracking results.)
    2006-09-26 00:05:47下载
    积分:1
  • jpg_encoder_and_decoder_matlab
    自己用matlab写的灰度图像压缩解压程序 jpegencoder可以打开图像压缩后存储为c.jpg(只限于灰度图像) jpegdecoder只适用于把jpegencoder的c.jpg解压,还不可以对任意图像解压,有待以后完善 作者 ar_dong(jpegencoder jpegdecoder author ar_dong)
    2020-12-30 21:48:59下载
    积分:1
  • Compressive_Sensing
    压缩感知图像融合算法,效果很好滴,可以借鉴学习哦(Compressed sensing image fusion algorithm, the effect is very good drops, you can learn from, oh)
    2012-11-03 23:39:54下载
    积分:1
  • jizhifa
    线结构光三维重建之极值法提取激光条纹中心(Center extraction of laser stripe)
    2021-01-26 21:48:41下载
    积分:1
  • pianzhen
    说明:  对水下模糊的图像用偏振的物理方法实现去雾的matlab代码,附水下图片(The physical method of polarization is used to realize the matlab code of fog removal for the underwater blurred image, and the underwater image is attached.)
    2021-04-21 17:18:49下载
    积分:1
  • 08219576lizilvbo
    用MATLAB编写的粒子滤波器程序,能很好对目标进行跟踪,适合学习粒子滤波器的同学。(Particle filter program written using MATLAB, well target tracking, suitable for students learning particle filter.)
    2012-08-25 19:01:19下载
    积分:1
  • object-tracking-based-on-TOD
    基于纹理和边缘方向特征融合的目标跟踪程序代码,是基于mean shift框架的(This paper proposes a powerful and robust local descriptor,called textureorientation descriptor(TOD). TOD consists of two components: texture and orientation. Considering that the human shape shows more short, fragmentary and vertical edges, the proposed TOD descriptor encodes the spatial information of pedestrian image. We combine the proposed TOD representation model with mean shift framework to perform pedestrian tracking. Results from experiments show the improved performance of the proposed algorithm, in the scenarios of heavy occlusions, illumination variations and similar objects interference, when compared with the other descriptors based trackers.)
    2012-09-01 14:28:50下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载