登录
首页 » Java » GeometricVersion3

GeometricVersion3

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

  • xiaobo-contourlet
    小波变换去噪和轮廓波变换去噪,两种方法比较,通过psnr来评价(wavelet and contourlet,image denoise)
    2013-08-25 10:21:40下载
    积分:1
  • grabcut_matlab
    An efficient way of segmentation, grabcut matlab code. Segment by interaction with human can easy segment object, especially with rectangle
    2012-03-27 15:27:10下载
    积分:1
  • histeqgray
    说明:  直方图均衡化,直方图均衡化vc++源代码(histogramequalization)
    2009-09-03 23:52:55下载
    积分:1
  • ex
    说明:  运行程序,得到不同伽马因子给图像的整体明暗程度带来的变化(Run the program to get the change of the overall brightness of the image with different gamma factors)
    2019-03-18 15:15:54下载
    积分:1
  • tong311
    矫正桶形畸变,只是用了坐标变化,目前在研究张正友的算法,日后会上传的(correct the distortion of picture)
    2021-04-09 14:38:59下载
    积分:1
  • Hough变换圆
    一种基于形貌特征识别圆形的方法,通过拟合圆方程来实现的经典hough变换方法(A method of Circle Recognition Based on morphological features is introduced. The classical Hough transform method is implemented by fitting the circle equation.)
    2018-05-24 15:28:50下载
    积分:1
  • minboundrect
    使用matlab代码求出不规则区域所对应的最小外接矩形(find the smallest rectantangle of unregular region with matlab)
    2011-06-29 13:01:36下载
    积分:1
  • Keystone-Transfor
    Keystone Transform in ground moving target detection,it s very useful new comer(Keystone Transform in ground moving target detection)
    2020-08-17 21:38:23下载
    积分:1
  • cross-correlation-subpixel
    采用归一化互相关的算法进行图像匹配,经过测试非常有效(Normalized cross-correlation image matching, tested very effective)
    2015-04-09 00:36:53下载
    积分:1
  • colorimginfusion
    一种基于小波分析的彩色图像融合方法,需要同一场景的红外与夜视各一张,同时选取任意场景合适的彩色照片作为参考图像(A color image fusion method based on wavelet analysis, infrared and night vision needs each one of the same scene, the scene at the same time any suitable color photo as a reference image)
    2015-10-14 22:22:50下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载