示例#1
0
文件: Point2D.cs 项目: GelyaTh/l222
        public double getDistance(Point2D OtherPoint)
        {
            double distance = Sqrt(Pow((x - OtherPoint.getTrueX()), 2) + Pow((y - OtherPoint.getTrueY()), 2));

            return(distance);
        }