搜索结果
找到约 40 项符合
circle 的查询结果
按分类筛选
Java编程 3. 设计一个接口Shape
3. 设计一个接口Shape,接口中包含方法:Draw和Resize。定义一些具体类,如:Point、Line、Circle、Rectangle等,每个类都实现接口Shape。Draw方法绘制图形,Resize方法改变图形大小。用Java实现这些接口和类,并用测试类测试它们。 注意:不需要真正绘制图形,如Line的Draw方法只需输出下面文本即可: “直线的起点是(x1 ...
VC书籍 C++完美演绎 经典算法 如 /* 头文件:my_Include.h */ #include <stdio.h> /* 展开C语言的内建函数指令 */ #define PI 3.141
C++完美演绎 经典算法 如 /* 头文件:my_Include.h */ #include <stdio.h> /* 展开C语言的内建函数指令 */ #define PI 3.1415926 /* 宏常量,在稍后章节再详解 */ #define circle(radius) (PI*radius*radius) /* 宏函数,圆的面积 */ /* 将比较数值大小的函数写在自编include文件内 */ int show_big_or_small (int a,int ...
matlab例程 This demo develops the steady-state characteristics of an induction motor First start the simulation
This demo develops the steady-state characteristics of an induction motor First start the simulation, then Double click the <PLOTS> block to view torque-speed and
current-speed curves and the current circle diagram
uCOS 这是一个移植到vc上的小型ucGUI
这是一个移植到vc上的小型ucGUI,有助于容易理解GUI的实现和移植到嵌入式系统上,其中包括了Font,Widget,Window,Graphs(circle,line,poly,arc),LCDDriver,MemDev等。
Java编程 生成指定点数的随机点
生成指定点数的随机点,并用两种不同的算法求出这些点的最小包围圆(Smallest Enclosing Circle),并比较结果
通讯编程文档 1. 定义时间类Time
1. 定义时间类Time,给出类的成员属性及构造函数、析构函数及普通方法的定义,利用定义的类定义对象,并对对象的属性进行访问;
2. 定义一个类Point,然后定义类Point的派生类Circle,再定义Circle的派生类Cylinder;
3. 通过函数参数类型的不同实现函数重载;
4. 函数模板的定义与使用。 ...
matlab例程 Example - 3-D Stem Plot of an FFTFor example, fast Fourier transforms are calculated at points aroun
Example - 3-D Stem Plot of an FFTFor example, fast Fourier transforms are calculated at points around the unit circle on the complex plane. So, it is interesting to visualize the plot around the unit circle. Calculating the unit circle.
Java编程 问题描述:有时
问题描述:有时,表单数据太多,无法在同一个页面显示,需要分页完成(如用户注册表单)。这时,既可以为每一个表单创建一个ActionForm,也可以只创建一个ActionForm,它和多个表单对应。这里讨论如何用一个ActionForm对应表单。
程序完整解释可以到我的空间查看:
http://hi.baidu.com/circle%5Fanda ...
数学计算 定义一个Shape抽象类
定义一个Shape抽象类,在此基础上派生出Rectangle和circle类,二者都有GetArea()函数计算对象面积,GetPerim()函数计算对象的周长。使用Rectangle类派生出一个新类Squre。