登录
首页 » Java » GeometricVersion3

GeometricVersion3

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

  • 2
    说明:  <基于Matlab的数字图像相关法的程序实现> 数字图像相关法是对全场位移和应变进行分析的一种新的实验力学方法。图像处理是其核心之一。本文探讨了根据相关技术寻 求位移场的基本原理,并编制了基于Matlab的数字图像相关法程序。程序验证结果表明本程序处理速度快,精度高,可以满足基于相关技 术的图像处理的要求。(err)
    2008-09-09 11:35:24下载
    积分:1
  • SAR_KPCA
    基于核函数的SAR图像目标识别,利用KPCA对SAR图像进行特征提取(SAR image target recognition based on kernel function,Use KPCA SAR image feature extraction)
    2021-01-01 21:48:58下载
    积分:1
  • krogager_decomp
    极化SAR图像处理中 相干目标的 KROGAGER分解程序(Polarization SAR image processing in coherent goal decomposition process KROGAGER)
    2008-12-13 11:18:26下载
    积分:1
  • MM-GM-PHD
    基于MM-GMPHD算法多目标跟踪,对目标数目,观测量进行估计,共有五个不同时刻产生的目标,(multi-target tracking )
    2021-01-27 12:38:41下载
    积分:1
  • GMMsegmation
    利用高斯混合模型进行视频前景运动目标的提取!请使用自己的AVI文件。(extract the foreground moving object using the Gaussian mixture model)
    2011-07-04 11:24:16下载
    积分:1
  • lbp_matlab
    实现纹理模式的LBP特征表示及分类。 实现一种基于局部二值模式LBP(Local Binary Pattern)的多分辨率灰度尺度及旋转不变性的纹理分类方法(LBP texture model to achieve that as well as the breakdown characteristics. The realization of a model based on local binary LBP (Local Binary Pattern) Multiresolution gray-scale and rotation invariant texture classification)
    2009-07-08 18:01:47下载
    积分:1
  • Lee
    Lee的经典的多分辨率B样条拟合方法(multi-level B-spline fitting)的VC源代码。广泛应用于图形图像处理,CAD等领域。(Lee s classic multi-resolution B-spline fitting method (multi-level B-spline fitting) of the VC source code. Widely used in graphic image processing, CAD and other fields.)
    2007-11-07 16:11:02下载
    积分:1
  • WPF网络流量仪表盘
    WPF网络流量仪表盘
    2014-04-11下载
    积分:1
  • Moravec
    对遥感影像或者图形图像,是在摄影测量数据处理中比较知名的Moravec算子。希望可以帮助到大家!(Remote sensing image or graphic images, photogrammetric data processing in the more well-known Moravec operator. I hope you can help to everyone!)
    2014-09-03 20:18:45下载
    积分:1
  • Face-Eye-Detection
    说明:  一种人脸识别方法,是利用眼睛虹膜进行识别(A face recognition method is the use of iris identification)
    2009-08-24 22:48:34下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载