登录
首页 » Java » GeometricVersion3

GeometricVersion3

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

  • edge
    用MATLAB实现的边缘提取函数,实现了sobel算子、canny算子,Robert算子、prewitt算子、marr算子(Using MATLAB to achieve the edge detection function, the realization of the sobel operator, canny operator, Robert operator, prewitt operator, marr Operator)
    2009-05-13 19:22:26下载
    积分:1
  • SARAutoFocus
    基于点目标的自聚焦SAR成像算法!带图形显示!(point target on the autofocus algorithm for SAR imaging! With graphics!)
    2007-01-17 00:58:15下载
    积分:1
  • Three-dimensional-reconstruction
    图像三维重建 matlab环境 可用于各种图像(Image three-dimensional reconstruction of the environment can be used for a variety of images matlab)
    2010-01-11 21:07:42下载
    积分:1
  • 3253befc9e5c
    This code cano use thining an image
    2012-06-06 11:14:44下载
    积分:1
  • ImageEdgeProcessing
    matlab图像边缘边缘检测:包括小波多尺度边缘检测主程序、求纵向细节v和横行细节h的合成及模极大值、对矩阵取自适应阈值等(Matlab Edge Edge Detection : including wavelet multiscale edge detection main program. seeking details of the vertical and horizontal v h details of the synthesis and modulus maxima, the right matrix for adaptive threshold value)
    2007-05-16 16:15:01下载
    积分:1
  • CvThrehold
    基于opencv实时图像的2值化处理,一定要有摄像头(Opencv-based real-time image processing of two values, there must be a camera)
    2013-11-29 20:29:33下载
    积分:1
  • SIFT
    提取SIFT特征,进行特征提取和匹配,包括特征点的定位,特征点描述子的生成,特征点的匹配,(extract SIFT feature,and feature matching)
    2020-12-10 10:49:21下载
    积分:1
  • Spotlight-FMCW_SAR-sliding-sub-aperture-algorithm
    滑动聚束FMCW_SAR的子孔径成像算法Spotlight FMCW_SAR sliding sub-aperture algorithm(Spotlight FMCW_SAR sliding sub-aperture algorithm)
    2011-01-08 19:41:00下载
    积分:1
  • Visual_Studio_Cmake_2.8.5
    opencv安装指导文件,针对vs2010版本和opencv2.2版本(opencv installation guidance document for vs2010 version, and opencv2.2 version)
    2012-04-07 15:39:21下载
    积分:1
  • dct
    基于离散余弦变换实现图像压缩。程序可以直接运行。(Image compression based on discrete cosine transform.)
    2017-11-08 13:17:17下载
    积分:1
  • 696518资源总数
  • 105949会员总数
  • 22今日下载