-
GeometricVersion3
课程设计
几何图形(满分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)
- 2020-12-10 08:59:18下载
- 积分:1
-
LSPIA
代码实现2014 CAD 文章 Progressive and iterative approximation for least squares B-spline curve and surface fitting(The code implementation of Progressive and iterative approximation for least squares B-spline curve and surface fitting)
- 2021-04-06 00:19:03下载
- 积分:1
-
fveqf
实现了图像的灰度化并进一步用于视频监视控,一些自适应信号处理的算法,计算加权加速度。( Achieve a grayscale image and further control for video surveillance, Some adaptive signal processing algorithms, Weighted acceleration.)
- 2017-05-04 13:43:54下载
- 积分:1
-
image-patch
基于matlab的、结合深度图像的图像修补( Image patch based on matlab, combined with the depth of the image )
- 2012-06-07 23:42:03下载
- 积分:1
-
cg-descent
用共轭梯度下降算法 求解图像压缩感知 并进行比较(Conjugate gradient descent algorithm for image compression and compared perception)
- 2013-08-30 22:33:31下载
- 积分:1
-
junhengzengqiangsufan
强化细节的自适应直方图均衡化,分块的算法,可以自动调节窗口大小进行局部增强。()
- 2008-05-03 09:10:32下载
- 积分:1
-
Mellin-Transform
基于Matlab实现的傅立叶梅林变换的源程序代码(Based on Matlab implementation of the Fourier transform of the source code Merlin)
- 2011-11-16 20:45:31下载
- 积分:1
-
fuzzen
主要是关于模糊熵的,里面还和灰色关联度有点联系。搞图像的应该可以看的懂的。(Mainly on fuzzy entropy, which has little contact and the gray. Should be able to read out the image of understand.)
- 2011-05-07 17:15:51下载
- 积分:1
-
f771982e0947
sift算法引用于图像处理的一些常用程序(a reference to the image processing algorithms sift some common procedures)
- 2020-09-03 13:48:07下载
- 积分:1
-
Kalman
卡尔曼滤波在目标跟踪中应用仿真研究 简要讨论了用Kalman滤波方法对单个目标航迹进行预测,并借助于Matlab仿真工具,对实验的效果进行评估。(Kalman filter target tracking simulation study brief discussion of the Kalman filtering method to predict a single target track, and by means of Matlab simulation tools to evaluate the effect of the experimental.)
- 2013-04-02 12:08:15下载
- 积分:1