public class OvalBuilder extends PolygonBuilder
Ovals class to build grids.gridBounds| Modifier and Type | Method and Description |
|---|---|
Oval |
createNeighbor(PolygonElement el,
Neighbor neighbor)
Creates a new
Oval 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 Oval createNeighbor(PolygonElement el, Neighbor neighbor)
Oval positioned at the given neighbor position relative to the
reference element.createNeighbor in class PolygonBuilderel - the reference ovalneighbor - a neighbour positionOval objectIllegalArgumentException - if either argument is null or if el is not
an instance of Ovalpublic 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–2021 Geotools. All rights reserved.