搜索结果

找到约 40 项符合 circle 的查询结果

Java编程 3. 设计一个接口Shape

3. 设计一个接口Shape,接口中包含方法:Draw和Resize。定义一些具体类,如:Point、Line、Circle、Rectangle等,每个类都实现接口Shape。Draw方法绘制图形,Resize方法改变图形大小。用Java实现这些接口和类,并用测试类测试它们。 注意:不需要真正绘制图形,如Line的Draw方法只需输出下面文本即可: “直线的起点是(x1 ...
https://www.eeworm.com/dl/633/114800.html
下载: 128
查看: 1300

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 ...
https://www.eeworm.com/dl/686/134069.html
下载: 41
查看: 1075

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
https://www.eeworm.com/dl/665/168213.html
下载: 53
查看: 1045

uCOS 这是一个移植到vc上的小型ucGUI

这是一个移植到vc上的小型ucGUI,有助于容易理解GUI的实现和移植到嵌入式系统上,其中包括了Font,Widget,Window,Graphs(circle,line,poly,arc),LCDDriver,MemDev等。
https://www.eeworm.com/dl/649/191435.html
下载: 167
查看: 1115

Java编程 生成指定点数的随机点

生成指定点数的随机点,并用两种不同的算法求出这些点的最小包围圆(Smallest Enclosing Circle),并比较结果
https://www.eeworm.com/dl/633/233135.html
下载: 147
查看: 1076

通讯编程文档 1. 定义时间类Time

1. 定义时间类Time,给出类的成员属性及构造函数、析构函数及普通方法的定义,利用定义的类定义对象,并对对象的属性进行访问; 2. 定义一个类Point,然后定义类Point的派生类Circle,再定义Circle的派生类Cylinder; 3. 通过函数参数类型的不同实现函数重载; 4. 函数模板的定义与使用。 ...
https://www.eeworm.com/dl/646/237464.html
下载: 156
查看: 1078

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.
https://www.eeworm.com/dl/665/261195.html
下载: 173
查看: 1062

Java编程 问题描述:有时

问题描述:有时,表单数据太多,无法在同一个页面显示,需要分页完成(如用户注册表单)。这时,既可以为每一个表单创建一个ActionForm,也可以只创建一个ActionForm,它和多个表单对应。这里讨论如何用一个ActionForm对应表单。 程序完整解释可以到我的空间查看: http://hi.baidu.com/circle%5Fanda ...
https://www.eeworm.com/dl/633/290338.html
下载: 74
查看: 1010

数学计算 定义一个Shape抽象类

定义一个Shape抽象类,在此基础上派生出Rectangle和circle类,二者都有GetArea()函数计算对象面积,GetPerim()函数计算对象的周长。使用Rectangle类派生出一个新类Squre。
https://www.eeworm.com/dl/641/312077.html
下载: 191
查看: 1267

书籍源码 一定要在TC下运行

一定要在TC下运行,需要包括一些头文件,如graphic.h 要求:画一辆小车不停地水平从屏幕左边运动到右边,随着每一遍运动,小车高度均匀下降,降到最低后返回最高处 相关函数:delay(),kbhit(),lineto(),moveto(),arc(),circle()等。
https://www.eeworm.com/dl/532/334524.html
下载: 182
查看: 1019