Class Point


  • public class Point
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      double x  
      double y  
    • Constructor Summary

      Constructors 
      Constructor Description
      Point()  
      Point​(double newX, double newY)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static double distance​(Point X, Point Y)  
      void set​(double newX, double newY)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • x

        public double x
      • y

        public double y
    • Constructor Detail

      • Point

        public Point()
      • Point

        public Point​(double newX,
                     double newY)
    • Method Detail

      • set

        public void set​(double newX,
                        double newY)
      • distance

        public static double distance​(Point X,
                                      Point Y)