Class Point

java.lang.Object
velo.ladaalpha.fields.math.Point

public class Point extends Object
The Class Point.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Point(double x, double y)
    Instantiates a new point.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Gets the x.
    double
    Gets the y.
    void
    setX(double x)
    Sets the x.
    void
    setY(double y)
    Sets the y.
    To string.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Point

      public Point(double x, double y)
      Instantiates a new point.
      Parameters:
      x - the x
      y - the y
  • Method Details

    • toString

      public String toString()
      To string.
      Overrides:
      toString in class Object
      Returns:
      the string
    • getX

      public double getX()
      Gets the x.
      Returns:
      the x
    • setX

      public void setX(double x)
      Sets the x.
      Parameters:
      x - the new x
    • getY

      public double getY()
      Gets the y.
      Returns:
      the y
    • setY

      public void setY(double y)
      Sets the y.
      Parameters:
      y - the new y