-
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
-
ccode_open_bitmap
图像处理c源码_功能是打开一幅位图_并显示在屏幕上(_ C source image processing function is to open a bitmap _ and displayed on the screen)
- 2014-01-04 19:41:22下载
- 积分:1
-
DMC2C80-V1.1
VC development motion control routines, vb development 12 axis motion control routines
- 2013-12-08 21:55:18下载
- 积分:1
-
abersim-2.0
非线性超声成像仿真工具,考虑组织畸变、衰减、谐波等因素。(toolbox for nonlinear ultrasound imaging simulation)
- 2021-05-06 20:58:37下载
- 积分:1
-
CameraSelfCalibrationBasedOnKruppa
关于基于Kruppa方程的摄像机自标定方法的两篇论文,相对于传统的标校方法,是一种新的相机自标定技术(About Kruppa equation based camera self-calibration method of two papers, as opposed to the traditional Calibration Method is a new camera self-calibration technique)
- 2021-04-02 16:19:07下载
- 积分:1
-
testQXD
图像清晰度测量的算法,算法基础,易懂,适合初次接触图象清晰度的人入门用(Image sharpness measurement algorithm based on, easy to understand for the initial contact with the image clarity of a person entry with)
- 2008-03-06 09:43:26下载
- 积分:1
-
iapolarcoord
图片极坐标转换,可实现极坐标转换,以及求傅里叶变换(Picture polar coordinate conversion, convert polar coordinates can be realized, as well as seeking the Fourier transform)
- 2014-01-23 10:42:11下载
- 积分:1
-
python计算机视觉.pdf
本书是计算机视觉编程的权威实践指南,依赖 Python 语言讲解了基础理论与算法,并通过
大量示例细致分析了对象识别、基于内容的图像搜索、光学字符识别、光流法、跟踪、三维重建、
立体成像、增强现实、姿态估计、全景创建、图像分割、降噪、图像分组等技术。(This book is an authoritative guide to computer vision programming, which explains basic theories and algorithms based on the Python language.A large number of examples carefully analyze object recognition, content based image search, optical character recognition, optical flow, tracking, 3D reconstruction,Stereoscopic imaging, augmented reality, attitude estimation, panoramic creation, image segmentation, noise reduction, image grouping and other techniques.)
- 2020-10-13 20:07:31下载
- 积分:1
-
Photo
说明: 图形处理功能,有滤波功能,边缘提取等各个方面,值得一看(Graphics processing capabilities, has filtering, edge detection and other aspects, see)
- 2008-08-30 17:26:54下载
- 积分:1
-
wtthreshold
利用小波变换进行图像去噪处理,包括各种软硬阈值的选取函数(Using Wavelet Transform for Image Denoising, including a variety of select hard and soft threshold function)
- 2020-12-01 17:49:26下载
- 积分:1