Package org.geotools.grid.hexagon
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 SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description HexagonOrientationgetOrientation()Gets the orientation of this hexagon.doublegetSideLength()Gets the side length of this hexagon.- 
Methods inherited from interface GridElementgetBounds, getVertices, toDenseGeometry, toGeometry
 - 
Methods inherited from interface PolygonElementgetArea, getCenter
 
- 
 
- 
- 
- 
Method Detail- 
getSideLengthdouble getSideLength() Gets the side length of this hexagon.- Returns:
- side length
 
 - 
getOrientationHexagonOrientation getOrientation() Gets the orientation of this hexagon.- Returns:
- either Orientation#ANGLED or Orientation#FLAT
 
 
- 
 
-