登录
首页 » Java Develop » 将一个点在笛卡尔坐标系中定义为一个服务类…

将一个点在笛卡尔坐标系中定义为一个服务类…

于 2022-10-27 发布 文件大小:1.01 kB
0 69
下载积分: 2 下载次数: 1

代码说明:

将笛卡尔坐标系上的点定义为一个服务类Point,Point类提供求得坐标系上两点 间距离的功能、获取和设置坐标的功能、获取极坐标的功能,和完成对已创建的 Point类对象统计功能。设计测试Point服务类的应用程序主类,测试并显示输出 提供功能的结果。 (求以点(1,1)为极坐标原点,点(5,5)的极坐标) -Will be a point on the Cartesian coordinate system is defined as a service class Point, Point class provides coordinates obtained on the function of the distance between two points, access and set coordinates, polar coordinates to obtain functions, and the completion of the Point that have been created class object statistical functions. Design Test Point service class application" s main class to provide functionality to test and display the output results. (Seeking to point (1,1) to polar coordinates origin point (5,5) in polar coordinates)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696524资源总数
  • 103913会员总数
  • 34今日下载