Package org.geotools.grid.oblong
Class OblongBuilder
Object
PolygonBuilder
OblongBuilder
Used by
Oblongs class to build grids.- Since:
- 2.7
- Author:
- mbedward
-
Field Summary
Fields inherited from class PolygonBuilder
gridBounds -
Method Summary
Modifier and TypeMethodDescriptioncreateNeighbor(PolygonElement el, Neighbor neighbor) Creates a newOblongpositioned at the given neighbor position relative to the reference element.booleanisValidDenseVertexSpacing(double v) booleanisValidNeighbor(Neighbor neighbor) Methods inherited from class PolygonBuilder
buildGrid
-
Method Details
-
isValidNeighbor
- Specified by:
isValidNeighborin classPolygonBuilder
-
createNeighbor
Creates a newOblongpositioned at the given neighbor position relative to the reference element.- Specified by:
createNeighborin classPolygonBuilder- Parameters:
el- the reference oblongneighbor- a neighbour position- Returns:
- a new
Oblongobject - Throws:
IllegalArgumentException- if either argument isnullor ifelis not an instance ofOblong
-
isValidDenseVertexSpacing
public boolean isValidDenseVertexSpacing(double v) - Specified by:
isValidDenseVertexSpacingin classPolygonBuilder
-
getFirstElement
- Specified by:
getFirstElementin classPolygonBuilder
-
getNextXElement
- Specified by:
getNextXElementin classPolygonBuilder
-
getNextYElement
- Specified by:
getNextYElementin classPolygonBuilder
-