Package | Description |
---|---|
org.geotools.grid.hexagon |
Modifier and Type | Method and Description |
---|---|
HexagonOrientation |
HexagonImpl.getOrientation()
Gets the orientation of this hexagon.
|
HexagonOrientation |
Hexagon.getOrientation()
Gets the orientation of this hexagon.
|
static HexagonOrientation |
HexagonOrientation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HexagonOrientation[] |
HexagonOrientation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Hexagon |
Hexagons.create(double minX,
double minY,
double sideLen,
HexagonOrientation orientation,
CoordinateReferenceSystem crs)
Creates a new
Hexagon object. |
static SimpleFeatureSource |
Hexagons.createGrid(ReferencedEnvelope bounds,
double sideLen,
double vertexSpacing,
HexagonOrientation orientation,
GridFeatureBuilder gridFeatureBuilder)
Creates a new grid of tesselated hexagons within a bounding rectangle with grid elements
represented by densified polygons (ie. additional vertices added to each edge).
|
static SimpleFeatureSource |
Hexagons.createGrid(ReferencedEnvelope bounds,
double sideLen,
HexagonOrientation orientation,
GridFeatureBuilder gridBuilder)
Creates a new grid of tesselated hexagons within a bounding rectangle with grid elements
represented by simple (ie. undensified) polygons.
|
Constructor and Description |
---|
HexagonBuilder(ReferencedEnvelope gridBounds,
double sideLen,
HexagonOrientation orientation) |
HexagonImpl(double minX,
double minY,
double sideLen,
HexagonOrientation orientation,
CoordinateReferenceSystem crs)
Creates a new hexagon.
|
Copyright © 1996–2019 Geotools. All rights reserved.