Class ShapePoint

    • Constructor Detail

      • ShapePoint

        public ShapePoint()
      • ShapePoint

        public ShapePoint​(float x,
                          float y)
      • ShapePoint

        public ShapePoint​(float x,
                          float y,
                          int type)
      • ShapePoint

        public ShapePoint​(ShapePoint other)
    • Method Detail

      • getType

        public int getType()
        Returns:
      • setType

        public void setType​(int i)
        Parameters:
        i -
      • isInLineWith

        public boolean isInLineWith​(ShapePoint point)
      • isWithinEdge

        public boolean isWithinEdge​(ShapeEdge edge)
      • isNorthOf

        public boolean isNorthOf​(ShapePoint point)
      • isSouthOf

        public boolean isSouthOf​(ShapePoint point)
      • isWestOf

        public boolean isWestOf​(ShapePoint point)
      • isEastOf

        public boolean isEastOf​(ShapePoint point)
      • assign

        public void assign​(ShapePoint point)
      • moveTo

        public void moveTo​(ShapePoint point)
        Does the same as assign, but respects the locked attribute
        Parameters:
        point -
      • isLocked

        public boolean isLocked()
        Returns:
      • setLocked

        public void setLocked​(boolean b)
        Parameters:
        b -