编写4个类:Rectangle、Circle、Geometry、Exa,具体要求如下: ① Rectangle类有double型成员变量表示矩形左上角的位置坐标及矩形的宽和高,要求提供修改和返回各成员变量的方法。 ② Circle类有double型成员变量表示圆心坐标和圆的半径,要求提供修改和返回各成员变量的方法。 ③ Geometry类有Rectangle类和Circle型的成员变量rect和circle。即Geometry类创建的对象由一个矩形和一个圆组合而成。要求该类提供修改rect、circle位置和大小的方法;提供显示rect和circle位置关系的方法,并能够显示圆是否完全坐落于矩形中。 ④ 要求能对创建的Rectangle类和Circle类对象数目进行统计。 ⑤ Exa类含有main方法,在main方法中用Geometry类创建对象,该对象调用相应的方法设置圆和矩形的位置及大小并输出圆是否包含在矩形中。输出当前Rectangle和Circle对象数目。
标签: Rectangle Geometry Circle Exa
上传时间: 2016-02-29
上传用户:顶得柱
the Geometry of a diffraction grating, a common illustration in textbooks of optics, spectroscopy, and analytical chemistry. Sliders on the figures allow real-time interactive control of the incidence angle, grating ruling density (lines/mm), wavelength, and diffraction order.
标签: illustration spectroscopy diffraction textbooks
上传时间: 2016-06-04
上传用户:极客
书籍The Epipolar Geometry Toolbox (EGT)的MATLAB源代码
标签: Epipolar Geometry Toolbox MATLAB
上传时间: 2014-01-07
上传用户:jichenxi0730
This code is described in "Computational Geometry in C" (Second Edition), Chapter 8. It is not written to be comprehensible without the explanation in that book. Prints out one arm configuration to reach given target. Assumes number of links >= 3. Input: nlinks Number of links L1 L2 ... Ln Link lengths x0 y0 target0 x1 x2 target1
标签: Computational described Geometry Chapter
上传时间: 2014-01-25
上传用户:yan2267246
For advanced Geometry, most apps will prefer to load pre-authored meshes from a file. Fortunately, when using meshes, D3DX does most of the work for this, parsing a Geometry file and creating vertx buffers for us. This tutorial shows how to use a D3DXMESH object, including loading it from a file and rendering it. One thing D3DX does not handle for us is the materials and textures for a mesh, so note that we have to handle those manually.
标签: pre-authored Fortunately advanced Geometry
上传时间: 2013-12-26
上传用户:sssl
A very good reference about Circle Geometry
标签: reference Geometry Circle about
上传时间: 2016-10-25
上传用户:xyipie
A good reference book of Geometry theory
标签: reference Geometry theory good
上传时间: 2016-10-25
上传用户:helmos
A review book of Geometry in 2003
上传时间: 2013-12-16
上传用户:dyctj
Classical Geometry Book
上传时间: 2016-10-25
上传用户:zmy123
Another very good Theory Book about Geometry
标签: Geometry Another Theory about
上传时间: 2016-10-25
上传用户:xzt