Class Point2D


  • public class Point2D
    extends java.lang.Object

    A point in a 2 axis space.

    © 2002 Christian Treber, ct@ctreber.com

    • Constructor Summary

      Constructors 
      Constructor Description
      Point2D​(double pX, double pY)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getX()  
      double getY()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Point2D

        public Point2D​(double pX,
                       double pY)
    • Method Detail

      • getX

        public double getX()
      • getY

        public double getY()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object