Class ShapeField.DecodedTriangle

    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean ab  
      int aX  
      int aY  
      boolean bc  
      int bX  
      int bY  
      boolean ca  
      int cX  
      int cY  
    • Constructor Summary

      Constructors 
      Constructor Description
      DecodedTriangle()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      private void setValues​(int aX, int aY, boolean ab, int bX, int bY, boolean bc, int cX, int cY, boolean ca)  
      java.lang.String toString()
      pretty print the triangle vertices
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • aX

        public int aX
      • aY

        public int aY
      • bX

        public int bX
      • bY

        public int bY
      • cX

        public int cX
      • cY

        public int cY
      • ab

        public boolean ab
      • bc

        public boolean bc
      • ca

        public boolean ca
    • Constructor Detail

      • DecodedTriangle

        public DecodedTriangle()
    • Method Detail

      • setValues

        private void setValues​(int aX,
                               int aY,
                               boolean ab,
                               int bX,
                               int bY,
                               boolean bc,
                               int cX,
                               int cY,
                               boolean ca)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        pretty print the triangle vertices
        Overrides:
        toString in class java.lang.Object