登录
首页 » Java » GeometricVersion3

GeometricVersion3

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

  • FCM
    模糊C均值聚类算法,对图像进行分类,图像处理,多类划分,SAR图像分类(Fuzzy c-means algorithm clustering algorithm, the image classification, image processing, many kinds of division, the SAR image classification)
    2021-03-17 20:59:21下载
    积分:1
  • DeHaze
    根据CVPR最佳论文实现的基于暗通道的图像去雾算法(含soft matting),以及算法改进:包括对色彩失真的改进以及一种达到soft matting效果的快速算法(According CVPR Best Paper realized based on dark channel images to fog algorithms (including soft matting), and algorithm improvements: Improvements include color distortion as well as a way to achieve fast algorithm for soft matting effect)
    2013-06-07 10:54:11下载
    积分:1
  • 实验一
    像素与图像基本指标—彩色图像的基本信息、像素颜色值、图像的大小、矩阵形式等、对灰度图像计算有关统计参数:(1)图像的大小;(2)图像的灰度平均值;(3)图像的自协方差;(4)图像的灰度标准差、对图像进行45度,19度,98度等任意角度的旋转,并计算原图与旋转后图像的相关系数和协方差矩阵(Pixel and Basic Index of Image)
    2019-04-07 16:01:00下载
    积分:1
  • chedaoxain
    说明:  实现车道线检测,运用Hough变换的原理(For the process of lane line detection, this paper first searches for the edge points of the lane line, mainly including image graying, image filtering, image edge enhancement and image binarization. Then the lane line edge line is fitted. This paper uses the Hough transform to perform a straight line fitting.)
    2020-01-12 15:57:32下载
    积分:1
  • signatureSal
    基于图像签名的显著性区域检测,算法很巧妙,好用(computation of a saliency map based on the Image Signature, as described in the following paper: "Image Signature: Highlighting sparse salient regions", Xiaodi Hou, Jonathan Harel, and Christof Koch, IEEE Trans. Pattern Anal. Mach. Intell. 34(1): 194-201 (2012))
    2020-10-15 16:27:30下载
    积分:1
  • Fuzzy_K
    高光谱遥感图像模糊c均值聚类算法的matlab实现(hyperspectral remote sensing images fuzzy c-means clustering algorithm to achieve the Matlab)
    2007-06-05 09:20:29下载
    积分:1
  • 灰度
    说明:  对加载的图像进行灰度处理,简单处理matlab程序,效果不错,利于后面对图形进一步加工处理(Gray-scale processing of loaded images)
    2019-06-18 08:06:13下载
    积分:1
  • 111
    去雾处理,可以生成深度图和去雾后的图像 用matlab实现(To fog treatment, can generate a depth map and to fog the image after the realization of using matlab)
    2021-05-13 14:30:02下载
    积分:1
  • audio-watermark
    各种音频数字水印源代码,有详细的代码解释说明。dct,dwt等(Audio digital watermark source code, detailed code explanation. dct, dwt)
    2012-09-09 08:13:07下载
    积分:1
  • matlab实验程序
    说明:  (1)利用matlab函数进行噪声模拟,并用matlab自带函数进行图像滤波。 (2)利用给定图像自己编程实现使用均值滤波器、中值滤波器对不同强度的高斯噪声和椒盐噪声,进行滤波处理,并对结果进行评价分析,并解释结果。 (3)自己编程实现laplacian算子图像的处理,实现图像增强;编程实现sobel算子对图像边缘提取。将结果与matlab自带函数计算结果比较。 (4)利用模糊处理对图的灰度值进行改变实现灰度增强,并与直方图均衡结果比较((1) Matlab function is used to simulate noise, and Matlab function is used to filter image. (2) Using the given image, we use the mean filter and median filter to filter the Gaussian noise and salt and pepper noise with different intensities, evaluate and analyze the results, and interpret the results. (3) The image processing of Laplacian operator and image enhancement are realized by programming Sobel operator is used to extract image edge. The results are compared with those of MATLAB. (4) Fuzzy processing is used to change the gray value of the image to achieve gray enhancement and balance with histogram)
    2020-07-19 14:29:09下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载