public abstract class PolygonBuilder extends Object
org.geotools.grid.hexagon.HexagonGridBuilder
,
org.geotools.grid.oblong.OblongGridBuilder
Modifier and Type | Field and Description |
---|---|
protected ReferencedEnvelope |
gridBounds |
Constructor and Description |
---|
PolygonBuilder(ReferencedEnvelope gridBounds) |
Modifier and Type | Method and Description |
---|---|
boolean |
buildGrid(GridFeatureBuilder gridFeatureBuilder,
double vertexSpacing,
ListFeatureCollection fc) |
abstract PolygonElement |
createNeighbor(PolygonElement el,
Neighbor neighbor) |
abstract PolygonElement |
getFirstElement() |
abstract PolygonElement |
getNextXElement(PolygonElement el) |
abstract PolygonElement |
getNextYElement(PolygonElement el) |
abstract boolean |
isValidDenseVertexSpacing(double v) |
abstract boolean |
isValidNeighbor(Neighbor neighbor) |
protected final ReferencedEnvelope gridBounds
public PolygonBuilder(ReferencedEnvelope gridBounds)
public boolean buildGrid(GridFeatureBuilder gridFeatureBuilder, double vertexSpacing, ListFeatureCollection fc)
public abstract boolean isValidNeighbor(Neighbor neighbor)
public abstract PolygonElement createNeighbor(PolygonElement el, Neighbor neighbor)
public abstract PolygonElement getFirstElement()
public abstract PolygonElement getNextXElement(PolygonElement el)
public abstract PolygonElement getNextYElement(PolygonElement el)
public abstract boolean isValidDenseVertexSpacing(double v)
Copyright © 1996–2019 Geotools. All rights reserved.