Interface Hexagon

All Superinterfaces:
GridElement, PolygonElement
All Known Implementing Classes:
HexagonImpl

public interface Hexagon extends PolygonElement
Defines methods and enum constants to work with hexagons.
Since:
2.7
Author:
mbedward
  • Method Details

    • getSideLength

      double getSideLength()
      Gets the side length of this hexagon.
      Returns:
      side length
    • getOrientation

      HexagonOrientation getOrientation()
      Gets the orientation of this hexagon.
      Returns:
      either Orientation#ANGLED or Orientation#FLAT