登录
首页 » Java » GeometricVersion3

GeometricVersion3

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

  • Convolution_model
    说明:  褶积模型正演模拟,非常好用,非常好用,非常好用!(Forward simulation of convolution model ,very good!)
    2019-06-13 17:20:40下载
    积分:1
  • FCMmatlab
    说明:  用matlab实现了FCM图像分割,分割效果较好。有说明(Matlab achieved using FCM image segmentation, segmentation better. Described)
    2008-11-27 08:13:22下载
    积分:1
  • flrna
    VC调用matlab引擎因为类别当中没有此类,所以放到了数值计算(VC calls the Matlab engine because there is no such class, so it is put into numerical calculation.)
    2018-08-04 06:34:40下载
    积分:1
  • image-processing
    应用傅立叶变换对图像处理,实现查看图像的功率谱,以及功率谱经过巴特沃斯高通、低通和高斯高通、低通滤波器后图像的功率谱,再把功率谱还原为图像的功能。(Fourier transform for image processing, see the image of the power spectrum, and the power spectrum after Butterworth high-pass, low-pass and high-pass Gaussian low-pass filter of the image after power spectrum, and then restore the power spectrum of the image.)
    2020-10-30 16:09:56下载
    积分:1
  • imresample
    图像重采样,根据新旧图像像元大小的比例进行图像的重采样,(This function resamples the images at the new grid points defined by the new pixel sizes. It assumes that intensities are defined at the pixel centers)
    2015-04-23 21:57:25下载
    积分:1
  • Demo3_line-segment-detection-
    直线检测 Visual C++编写 用于图像处理(line segment detection)
    2012-06-29 16:39:16下载
    积分:1
  • LeastSquaresEllipse
    利用最小二乘法,可以自动实现图像中的椭圆检测并拟合出来,效果很好(Ellipse detection and fitting them to achieve)
    2011-10-12 20:08:37下载
    积分:1
  • dcmread4
    集成ITK、VTK、MFC读取DICOM的代码,建成win32程序即可。运行完美(Integrated ITK, VTK, MFC to read DICOM code, built win32 program can. Works perfect)
    2021-02-19 16:29:44下载
    积分:1
  • bmpFile
    简单的bmp图象处理程序,将一个bmp文件中的直线和园改变颜色(Bmp simple image processing procedures, will be a bmp file in a straight line and Park change color)
    2008-01-04 14:50:09下载
    积分:1
  • VCPP-image-processing-chapter07
    VisualC++数字图像处理技术详解第2版光盘-第七章(VisualC++ digital image processing technology Detailed Version 2 CD- Chapter VII)
    2016-04-16 13:35:33下载
    积分:1
  • 696518资源总数
  • 105661会员总数
  • 6今日下载