public class HexGrid
extends java.lang.Object
| Constructor and Description |
|---|
HexGrid(Orientation orientation,
Point origin,
Point size,
com.gojuno.morton.Morton64 mort) |
| Modifier and Type | Method and Description |
|---|---|
Region |
createRegion(Point[] geometry) |
boolean |
equals(java.lang.Object obj) |
Hex |
hexAt(Point point) |
Point |
hexCenter(Hex hex) |
Point[] |
hexCorners(Hex hex) |
Hex |
hexFromCode(long code) |
Hex[] |
hexNeighbors(Hex hex,
int layers) |
long |
hexToCode(Hex hex) |
java.lang.String |
toString() |
public HexGrid(Orientation orientation, Point origin, Point size, com.gojuno.morton.Morton64 mort)