Class Error2D


  • public class Error2D
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Error2D​(double x, double y)
      Create a new Error2D
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getX()  
      double getY()  
      void rotateBy​(double angle)
      Rotate the Error by and angle (in degrees)
      void setX​(double x)  
      void setY​(double y)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • Error2D

        public Error2D​(double x,
                       double y)
        Create a new Error2D
        Parameters:
        x - X error
        y - Y error
    • Method Detail

      • rotateBy

        public void rotateBy​(double angle)
        Rotate the Error by and angle (in degrees)
        Parameters:
        angle - Angle to rotate goal by
      • getX

        public double getX()
      • getY

        public double getY()
      • setX

        public void setX​(double x)
      • setY

        public void setY​(double y)
      • toString

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