Class DoublePoint


  • public class DoublePoint
    extends Object
    Author:
    klc
    • Constructor Detail

      • DoublePoint

        public DoublePoint​(double i,
                           double j)
        Parameters:
        i -
        j -
    • Method Detail

      • get

        public double[] get()
        Returns:
        array containing the coordinates x,y.
      • getx

        public double getx()
        Returns:
        x the x value.
      • gety

        public double gety()
        Returns:
        y the y value.
      • set

        public void set​(double i,
                        double j)
        Parameters:
        i -
        j -
      • toString

        public String toString()
        Overrides:
        toString in class Object
        Returns:
        string representation of the point.