Exemple #1
0
        public double getDistance(Point2D OtherPoint)
        {
            double distance = Sqrt(Pow((x - OtherPoint.getTrueX()), 2) + Pow((y - OtherPoint.getTrueY()), 2));

            return(distance);
        }