public class OblongBuilder extends PolygonBuilder
Oblongs class to build grids.gridBounds| Modifier and Type | Method and Description |
|---|---|
Oblong |
createNeighbor(PolygonElement el,
Neighbor neighbor)
Creates a new
Oblong positioned at the given neighbor position relative to the
reference element. |
PolygonElement |
getFirstElement() |
PolygonElement |
getNextXElement(PolygonElement el) |
PolygonElement |
getNextYElement(PolygonElement el) |
boolean |
isValidDenseVertexSpacing(double v) |
boolean |
isValidNeighbor(Neighbor neighbor) |
buildGridpublic boolean isValidNeighbor(Neighbor neighbor)
isValidNeighbor in class PolygonBuilderpublic Oblong createNeighbor(PolygonElement el, Neighbor neighbor)
Oblong positioned at the given neighbor position relative to the
reference element.createNeighbor in class PolygonBuilderel - the reference oblongneighbor - a neighbour positionOblong objectIllegalArgumentException - if either argument is null or if el is not
an instance of Oblongpublic boolean isValidDenseVertexSpacing(double v)
isValidDenseVertexSpacing in class PolygonBuilderpublic PolygonElement getFirstElement()
getFirstElement in class PolygonBuilderpublic PolygonElement getNextXElement(PolygonElement el)
getNextXElement in class PolygonBuilderpublic PolygonElement getNextYElement(PolygonElement el)
getNextYElement in class PolygonBuilderCopyright © 1996–2019 Geotools. All rights reserved.