Class Pixy2Line.Vector

  • Enclosing class:
    Pixy2Line

    public static class Pixy2Line.Vector
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Vector​(int x0, int y0, int x1, int y1, int index, int flags)
      Constructs Vector instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getFlags()  
      int getIndex()  
      int getX0()  
      int getX1()  
      int getY0()  
      int getY1()  
      void print()
      Prints vector data to console
      java.lang.String toString()
      Returns a string of vector data
      • Methods inherited from class java.lang.Object

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

      • Vector

        public Vector​(int x0,
                      int y0,
                      int x1,
                      int y1,
                      int index,
                      int flags)
        Constructs Vector instance
        Parameters:
        x0 - X0 value
        y0 - Y0 value
        x1 - X1 value
        y1 - Y1 value
        index - Vector index
        flags - Vector flags
    • Method Detail

      • print

        public void print()
        Prints vector data to console
      • toString

        public java.lang.String toString()
        Returns a string of vector data
        Overrides:
        toString in class java.lang.Object
        Returns:
        String of vector data
      • getX0

        public int getX0()
        Returns:
        X0 value
      • getY0

        public int getY0()
        Returns:
        Y0 value
      • getX1

        public int getX1()
        Returns:
        X1 value
      • getY1

        public int getY1()
        Returns:
        Y1 value
      • getIndex

        public int getIndex()
        Returns:
        Vector index
      • getFlags

        public int getFlags()
        Returns:
        Vector flags