登录
首页 » Java » GeometricVersion3

GeometricVersion3

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

  • gmm-cv
    OpenCV_基于混合高斯模型GMM的运动目标检测。内附监测监控视频,方便测试使用。(OpenCV_ GMM Gaussian mixture model based moving target detection. Included monitoring surveillance video, easy testing.)
    2014-02-26 14:47:48下载
    积分:1
  • harris-match
    采用harris角点特征完成图像拼接,包含特征点的选取以及最终拼接后的结果输出(Harris corner feature complete image stitching, contains the feature points selected and the resulting output after final stitching)
    2012-05-25 13:29:48下载
    积分:1
  • Three-improved-image-enhancement-
    三种改进的图像增强算法,包括改进的类拉普拉斯增强算法,混合式MSRCR彩色图像增强算法,区域自适应反锐化掩模图像增强算法。(Three improved image enhancement algorithms, including improved classes, Laplace enhancement algorithms, the hybrid MSRCR Color Image Enhancement algorithm, region adaptive unsharp mask image enhancement algorithms)
    2021-04-03 20:49:04下载
    积分:1
  • ROI~
    图形图像感兴趣区域提取的方法,个人总结的~可以直接运行!(Graphic method of region of interest extraction, can be directly run personal summary!)
    2021-04-26 14:08:45下载
    积分:1
  • lena
    说明:  灰图像三级小波分解,以lena图像为例。(Gray image 3 wavelet decomposition to lena image as an example.)
    2010-05-04 15:11:04下载
    积分:1
  • MarchingCubes
    三维表面重建算法,matchingcube快速算法。(3D surface reconstruction algorithm)
    2021-01-27 12:38:41下载
    积分:1
  • fftSpectrumanalysis
    1.用Matlab产生正弦波,矩形波,以及白噪声信号,并显示各自时域波形图 2.进行FFT变换,显示各自频谱图,其中采样率,频率、数据长度自选 3.做出上述三种信号的均方根图谱,功率图谱,以及对数均方根图谱 4.用IFFT傅立叶反变换恢复信号,并显示恢复的正弦信号时域波形图( 1. Using Matlab generated sine wave, square wave, and the white noise signal, and displays the respective time-domain waveform 2. The FFT transform, showing each spectrum, where the sampling rate, frequency, data length choice 3. Rms signal to make the three maps, power spectra, as well as the number of rms spectra 4. With the inverse Fourier transform IFFT restore the signal and displays the recovered time-domain waveform sinusoidal signal)
    2013-09-03 06:55:54下载
    积分:1
  • Average-model
    用平均背景法去除背景,算法思想比混合高斯模型和codebook模型简单,适合提取背景变化较小的场景。用中值滤波去除掉产生的椒盐噪声(Average method to remove the background with the background, the algorithm thought codebook than the Gaussian mixture model and a simple model for extraction of small changes in background scene. With a median filter to remove salt and pepper noise generated)
    2011-11-19 17:08:39下载
    积分:1
  • 基于Retinex算法的单尺度图像增强算法 ssr1
    说明:  基于Retinex算法的单尺度图像增强算法。(An image enhancement algorithm based on RETINEX theory.)
    2020-06-23 04:40:02下载
    积分:1
  • 几何校正
    实现对辐射校正后的科学数据几何校正以及对角度数据校正,输出控制点文件(The calibration of the scientific data after radiation correction, the correction of the angle data and the output control point files are realized)
    2017-09-26 16:55:41下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载