资 源 简 介
将笛卡尔坐标系上的点定义为一个服务类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)