org.geotools.grid
Class PolygonBuilder
Object
PolygonBuilder
- Direct Known Subclasses:
- HexagonBuilder, OblongBuilder
public abstract class PolygonBuilder
- extends Object
The base class for builders that generate polygonal grid elements.
- Since:
- 8.0
- Author:
- mbedward
- See Also:
org.geotools.grid.hexagon.HexagonGridBuilder
,
org.geotools.grid.oblong.OblongGridBuilder
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
gridBounds
protected final ReferencedEnvelope gridBounds
PolygonBuilder
public PolygonBuilder(ReferencedEnvelope gridBounds)
buildGrid
public boolean buildGrid(GridFeatureBuilder gridFeatureBuilder,
double vertexSpacing,
ListFeatureCollection fc)
isValidNeighbor
public abstract boolean isValidNeighbor(Neighbor neighbor)
createNeighbor
public abstract PolygonElement createNeighbor(PolygonElement el,
Neighbor neighbor)
getFirstElement
public abstract PolygonElement getFirstElement()
getNextXElement
public abstract PolygonElement getNextXElement(PolygonElement el)
getNextYElement
public abstract PolygonElement getNextYElement(PolygonElement el)
isValidDenseVertexSpacing
public abstract boolean isValidDenseVertexSpacing(double v)
Copyright © 1996-2014 Geotools. All Rights Reserved.