登录
首页 » Java » GeometricVersion3

GeometricVersion3

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

  • toolbox-for-dimensionality-reduction
    一个关于数据降维的工具包,外国牛人编写,囊括了各种降维方法,是一个很好的工具!(A tool for data reduction package, foreign cattle were written, include a variety of dimension reduction method is a good tool!)
    2011-09-22 15:13:47下载
    积分:1
  • wenjian
    matlab提取图像的纹理特征,包括方差、熵、角二阶矩等特征。(matlab extract the texture features, including variance, entropy, angular second moment and other features.)
    2011-04-21 15:32:24下载
    积分:1
  • ase
    GM(1,1)的程序,要用就下啥,可以预测的,里面有详细的说明,很容易看懂的!,(GM (1, 1) program, want to use is what, predictable, there are detailed instructions, it is easy to understand!)
    2017-08-02 07:46:00下载
    积分:1
  • huidu-avi.m
    此文件是关于图像处理中灰度视频播放等相关知识的综合运用。(it is about the gray in image processing)
    2014-07-05 23:42:06下载
    积分:1
  • frft_candon
    离散分数阶傅立叶变换,算法参考 C. Candan, M.A. Kutay, and H.M. Ozaktas. The discrete Fractional Fourier Transform. IEEE Trans. Sig. Proc., 48:1329--1337, 2000 (Discrete fractional Fourier transform algorithm reference C. Candan, MA Kutay, and HM Ozaktas. The discrete Fractional Fourier Transform. IEEE Trans. Sig. Proc., 48:1329- 1337, 2000)
    2013-10-23 18:27:29下载
    积分:1
  • celledge7
    用MATLAB实现的细胞边缘检测,癌细胞颜色分析,癌细胞形态学分析(MATLAB cell edge detection, color cell analysis, morphological analysis of cancer)
    2006-11-16 16:58:42下载
    积分:1
  • Log convert
    用C++实现的对数变换达到图像增强效果,代码亲测可用(Logarithmic transformation realized by C++ achieves image enhancement effect, and code pro-test is available.)
    2019-05-12 09:42:49下载
    积分:1
  • gdcm-2.2.0
    医用图像处理程序,处理dicom文件。开源软件,参考dcmtk(dicom process soft)
    2012-04-11 15:17:34下载
    积分:1
  • scd
    根据MPEG7中图像的SCD描述算子,提取图像在HSV空间中的直方图。并且可以与源图像进行比较。(MPEG 7 Scalable Color Descriptor experiment)
    2010-05-17 22:03:45下载
    积分:1
  • OTSUMultiThre
    1.本程序功能包含显示直方图,OTSU的单值分割,OTSU的二值分割,OTSU的三值分割 2.在OTSU的分割时,通常情况下我们是通过类间方差得到一个分割阈值,但是有时候我们需要得到各灰度级别的目标,那么采取多值分割是 很必要的,通过改进得到OTSU的多值分割方法 3.本程序另外还有显示直方图,计算程序运行时间,处理结果以新的窗口显示等细节,这部分适合MFC初学者。(1. This procedure shows the histogram feature, OTSU single segmentation, OTSU binary segmentation, OTSU three segmentation 2. OTSU segmentation, it is usually the case we are through the between-cluster variance by a partition threshold , but sometimes we need to be the gray level of the target, then the multi-segmentation is necessary, through improved access to multi-OTSU segmentation methods 3. This procedure in addition to show the histogram to calculate run time, treatment the results of a new window display the details of this part of MFC for beginners.)
    2009-02-06 14:55:41下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载