Package org.geotools.grid.hexagon
Enum HexagonOrientation
- Object
- 
- Enum<HexagonOrientation>
- 
- HexagonOrientation
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<HexagonOrientation>
 
 public enum HexagonOrientation extends Enum<HexagonOrientation> Constants to describe the orientation of aHexagon.- An ANGLEDelement has a "pointy" top with a single vertex touching the upper edge of its bounding rectangle.
- A FLATelement has edges that run along the upper and lower edges of its bounding rectangle
 - Author:
- michael
 
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static HexagonOrientationvalueOf(String name)Returns the enum constant of this type with the specified name.static HexagonOrientation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
ANGLEDpublic static final HexagonOrientation ANGLED AnANGLEDelement has a "pointy" top with a single vertex touching the upper edge of its bounding rectangle.
 - 
FLATpublic static final HexagonOrientation FLAT AFLATelement has edges that run along the upper and lower edges of its bounding rectangle
 
- 
 - 
Method Detail- 
valuespublic static HexagonOrientation[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HexagonOrientation c : HexagonOrientation.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static HexagonOrientation valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 
- 
 
-