登录
首页 » Java » GeometricVersion3

GeometricVersion3

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

  • cross_correlation
    关于图像配准中的交叉相关的实现,可以直接调用。(About Image Registration in the implementation of cross-correlation can be directly called.)
    2009-03-20 15:58:47下载
    积分:1
  • wangzhen
    图像边缘提取,边缘整合,有效提取边缘,并进行填充。(Image edge detection, edge integration, effective edge extraction and filling.)
    2012-07-29 11:04:05下载
    积分:1
  • 数字实验
    说明:  数字图像处理常用程序,包括图像读取、显示、详细信息,对图像文件格式转换,RGB分量显示,索引图像、伪彩色图像、真彩色图像显示,灰度直方图处理,图像灰度变换,均衡化处理,图像加噪声处理,均值滤波、中值滤波,图像加减乘除运算,图像放大,插值拟合,旋转,多种边缘检测方法,高通滤波,低通滤波,带通滤波,维纳滤波,运动模糊等处理。(Common digital image processing programs, including image reading, display, detailed information, image file format conversion, RGB component display, index image, pseudo color image, true color image display, gray histogram processing, image gray transformation, equalization processing, image plus noise processing, mean filtering, median filtering, image plus, subtraction, multiplication and division, image amplification, interpolation Fitting, rotation, multiple edge detection methods, high pass filtering, low-pass filtering, band-pass filtering, Wiener filtering, motion blur and other processing.)
    2020-06-30 00:20:02下载
    积分:1
  • POCS-SuperResulution
    本程序主要实现低分辨率图像的超分辨率重建,有助于我们理解图像重建的过程和原理(This procedure is mainly to achieve super-resolution reconstruction of low-resolution images help us understand the process and principles of image reconstruction)
    2021-03-03 10:09:33下载
    积分:1
  • gesture-system
    目前已有的手部运动跟踪系统大多在一定程度上限制了人体运动自由. 基于此, 提出一种无线、 可穿戴、 无障碍的腕关节、 指关节运动跟踪系统. 在人体每个手指甲上粘贴一轻小永磁体, 用以产生标示腕关节、指关节运动的信号 若干磁传感器置于手腕处的电子腕带上, 作为标示信号( 磁信号) 检测器. 当腕关节、 指关 节运动时, 永磁体在各传感器所在位置处的合成磁场发生变化, 传感器对该磁场信号进行测量, 所检测到的磁场信号送入手部姿势估计器, 估计器基于系统数学模型计算手部姿势, 从而实现对手部运动的跟踪.(Most of the existing hand movement tracking system to a certain extent limited the freedom of human motion. This paper presents a wireless, wearable, accessible wrist, knuckles motion tracking system. In each fingernail on the human body Paste a light small permanent magnet to produce marked the wrist, referring to the signal of the joint movement the number of magnetic sensors placed in the wrist at the electronic wristband, as marked signal (magnetic signal) detector. when the wrist, knuckles campaign , the permanent magnet in the magnetic field of the sensor location at changes in the sensors of the magnetic signal measurement, the detected magnetic field signal sent from the start with the Ministry of posture is estimated, the estimator based on the mathematical model to calculate the hand position in order to achieve of hand movement tracking.)
    2020-06-30 07:40:02下载
    积分:1
  • partical-filter
    粒子滤波 图像处理程序,内有5个用于图像处理的程序(partical filter)
    2012-01-03 20:59:34下载
    积分:1
  • pcnnfilter
    PCNN实现降噪的不错 PCNN是很好的自动分割工具 PCNN是很好的自动分割工具(PCNN是很好的自动分割工具,)
    2009-06-20 15:47:19下载
    积分:1
  • NakagamiCFAR
    本代码实现了基于卡方分布(nakagami 分布)的恒虚警检测(CFAR),通过在查找表的形式,实现参数估计和阈值估计,完成对目标的检测。(The code based on the chi-square distribution (nakagami distribution) of the CFAR (CFAR), through the form of a lookup table to achieve the threshold parameter estimates and estimates to complete the target detection.)
    2011-08-11 14:41:44下载
    积分:1
  • ppbNakagami
    处理Gamma乘性噪声的PPB方法,考虑了非局部patch的相似性,可处理SAR图像去噪。(The PPB method for multicative noise removal, which based on the Probabilistic Patch similarity.)
    2021-04-12 18:18:57下载
    积分:1
  • 小波分析
    说明:  用来做小波分析,开源程序,可画出小波功率谱,小波全谱,程序中有参考文件的网址,非常方便·新手使用(Used to do wavelet analysis, open source program, can draw the wavelet power spectrum, wavelet full spectrum, the program has a reference file of the website, very convenient for beginners to use)
    2021-01-29 15:54:18下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载