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) |
buildGrid
public boolean isValidNeighbor(Neighbor neighbor)
isValidNeighbor
in class PolygonBuilder
public Oblong createNeighbor(PolygonElement el, Neighbor neighbor)
Oblong
positioned at the given neighbor position relative to the
reference element.createNeighbor
in class PolygonBuilder
el
- the reference oblongneighbor
- a neighbour positionOblong
objectIllegalArgumentException
- if either argument is null
or if el
is not
an instance of Oblong
public boolean isValidDenseVertexSpacing(double v)
isValidDenseVertexSpacing
in class PolygonBuilder
public PolygonElement getFirstElement()
getFirstElement
in class PolygonBuilder
public PolygonElement getNextXElement(PolygonElement el)
getNextXElement
in class PolygonBuilder
public PolygonElement getNextYElement(PolygonElement el)
getNextYElement
in class PolygonBuilder
Copyright © 1996–2019 Geotools. All rights reserved.