搜索资源列表
google-map-API-compute-distance
- google map API 实现计算两地坐标与距离-compute the distance between two spots with their lattitude on google map API
Test4
- 计算三角形的面积和周长,要求如下: (1)设计出point类(点类) (2)设计出triangle类,至少包括其构造方法,获取面积和周长的方法。 (3)通过输入三点坐标的方法来确定一个三角形,并输出三角形的面积周长等内容。 -Calculate the area and perimeter of a triangle, the following: (1) design a point class (Point class) (2) design a triangle class
SimpleAnalogClock
- 改程序要完成一个简单的模拟时钟,要以秒的精度程序显示时间,每秒中更新一次。在时钟对话处理模块中,通过对相关条件的判断和时钟指针坐标点值的计算,完成时、分、秒指针的擦除和重绘,以达到模拟时钟运转的功能。在数字对话框模块中,通过相应的事件处理函数,实现时钟的自动更新,以和时钟对话框的时间保持一致性。-Reform program to complete a simple analog clock to display the time, in seconds, updated once per se
SimpleAnalogClock
- 改程序要完成一个简单的模拟时钟,要以秒的精度程序显示时间,每秒中更新一次。在时钟对话处理模块中,通过对相关条件的判断和时钟指针坐标点值的计算,完成时、分、秒指针的擦除和重绘,以达到模拟时钟运转的功能。在数字对话框模块中,通过相应的事件处理函数,实现时钟的自动更新,以和时钟对话框的时间保持一致性。-Reform program to complete a simple analog clock to display the time, in seconds, updated once per se
SimpleAnalogClock
- 一个简单的模拟时钟,要以秒的精度程序显示时间,每秒中更新一次。在时钟对话处理模块中,通过对相关条件的判断和时钟指针坐标点值的计算,完成时、分、秒指针的擦除和重绘,以达到模拟时钟运转的功能。-A simple analog clock to display the time, in seconds, updated once per second, the accuracy of the program. Speech processing module clock, the condition
nearestpoint
- 随机在二维平面上生成一千个点,再利用分治算法计算这一千个点中的最近点对,并返回这两个点的距离和坐标-Randomly generated on a two-dimensional plane a thousand points, and then use divide and conquer algorithm to calculate these thousand points of the nearest point on, and return from, and coordinate t
Graphics-editor-and-calculate
- 图形编辑与计算管理程序:1)利用菜单选择不同功能; 2)可利用字符绘制三角形、矩形、圆形和梯形,具体尺寸和坐标可由用户输入; 3)可计算各图形的面积; 4)可统计各图形个数及图形总数; 5)要求用到多态和接口等知识点; 6)要求有异常处理机制。 -Graphics editor and computation management procedures: 1) using the menu to different functions 2) availabl
TestCircle.java
- 初学java时写的练习小程序。 可用于计算两点间距, 也可以测试点是否在规定的圆上,圆的圆心坐标和半径需要事前规定好-Calculate the distance between points and check if a point is contained by a set circle.
No.6
- 一、进制转换 程序功能:在窗口中创建单选框、文本区域、单行文本框等组件,并实现根据用户输入的10 进制数,选择不同选项可转换为2、8、16 进制数。二、简单计算器 程序功能:在窗口中输入操作数1和操作数2,选择加减乘除中的一种运算,点击“计算”按钮,得到结果。三、键盘鼠标响应 程序功能:在窗口中用鼠标左键和右键单击时,窗口下方显示哪个键被点击,坐标是多少;当键盘上某个键被点击时,窗口下方显示这个键的名称。-First, the binary conversion Program
jingweidujisuan
- 输入空间任意两个点的经纬度坐标,计算两点距离的工具。-Input space any two points of latitude and longitude coordinates to calculate the distance two points tool.
Triangle2D
- 定义一个三角形的类Triangle2D,包含设置和获取三个点的坐标、创建三角形的对象的构造方法。可以计算三角形的面积和周长以及给定点,判断该点和三角形之间的关系(在三角形内、三角形重叠、三角形外)。请编写该测试程序。-Define a triangle class Triangle2D, contains set and get the three coordinates of the point, to create a triangular object constructor. You c