登录
首页 » Java » GeometricVersion3

GeometricVersion3

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

  • dftfilt
    该函数可接受输入图像和一个滤波函数,可处理所有的滤波细节并输出经滤波和剪切的图像。(Performs frequency domian filterlying.)
    2010-11-22 10:49:12下载
    积分:1
  • aa
    说明:  小波模极大值用于边缘特征提取.很好的一个matlab算法,可以直接验证。(Wavelet modulus maxima for edge feature extraction algorithm matlab good one can be directly verified.)
    2013-07-05 21:02:59下载
    积分:1
  • ImageWarping实验报告
    用matlab实现图像变形的实验实例,采用idw 和 rbf 算法(imagewarping using idw&rbf algorithms in matlab)
    2017-08-01 15:48:28下载
    积分:1
  • SuperResolution
    Super Resolution of Images and Video 超分辨率入门书籍(Super Resolution of Images and Video)
    2009-09-22 18:25:46下载
    积分:1
  • H-noise_low_pass_bayer
    Pixel design for H-noise cal; imageJ platform ; test done
    2020-06-22 16:00:01下载
    积分:1
  • edge_detection
    本代码比较全面地给出了图像边缘检测常用的各种算法的代码,包括:基于LoG算子边缘检测、基于Canny算子的边缘检测、基于SUSAN算子的边缘检测、基于小波变换模极大值的边缘检测、利用有限冲击响应来提取不同方向边缘、采用灰度形态学膨胀和腐蚀,对图像进行单尺度和多尺度的形态学边缘检测(This code gives a more comprehensive variety of commonly used edge detection algorithm code, including: LoG operator based on edge detection, based on Canny operator edge detection based on SUSAN operator edge detection based on wavelet transform modulus maxima edge detection values ​ ​ using finite impulse response to extract edges in different directions, using grayscale morphological dilation and erosion, the image of the single-scale and multi-scale morphological edge detection)
    2014-06-12 13:55:28下载
    积分:1
  • CS-based-on-FFT-or-DWT
    图像压缩感知,稀疏基为FFT或DWT(其中FFT是构造正交变换矩阵,DWT是对高频系数进行测量);重构方法为OMP(compression sensing of image based on FFT or DWT)
    2021-04-07 16:59:01下载
    积分:1
  • LevelSetMethods
    说明:  也是水平集方法的一个matlab源代码 比较经典的写的很详细 还可以做3d处理的(level is a collection of source code comparison Matlab classic written in great detail can be done to deal with the 3d)
    2020-11-27 10:49:31下载
    积分:1
  • 基于小波变换的融合源代码
    利用小波变换融合红外图像与可见光图像,提高图像质量(Infrared image and visible light image are fused by wavelet transform to improve image quality)
    2017-10-19 11:32:21下载
    积分:1
  • gridsegmentation
    基于边缘检测的迭代分水岭分割算法源码(内附图片等)(Image Segmentation Using Iterative Watersheding Plus Ridge Detection)
    2009-05-25 17:36:11下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载