Beispiel #1
0
        public double getLenght(Point x, Point y)
        {
            double lenght;
            double x_result;
            double y_result;

            x_result = (y.x - x.x) * (y.x - x.x);
            y_result = (y.y - x.y) * (y.y - x.y);
            lenght   = Sqrt.getSqrt(x_result + y_result);
            return(lenght);
        }