Package org.geotools.grid.oval
Class OvalBuilder
Object
PolygonBuilder
OvalBuilder
Used by
Ovals
class to build grids.-
Field Summary
Fields inherited from class PolygonBuilder
gridBounds
-
Method Summary
Modifier and TypeMethodDescriptioncreateNeighbor
(PolygonElement el, Neighbor neighbor) Creates a newOval
positioned at the given neighbor position relative to the reference element.boolean
isValidDenseVertexSpacing
(double v) boolean
isValidNeighbor
(Neighbor neighbor) Methods inherited from class PolygonBuilder
buildGrid
-
Method Details
-
isValidNeighbor
- Specified by:
isValidNeighbor
in classPolygonBuilder
-
createNeighbor
Creates a newOval
positioned at the given neighbor position relative to the reference element.- Specified by:
createNeighbor
in classPolygonBuilder
- Parameters:
el
- the reference ovalneighbor
- a neighbour position- Returns:
- a new
Oval
object - Throws:
IllegalArgumentException
- if either argument isnull
or ifel
is not an instance ofOval
-
isValidDenseVertexSpacing
public boolean isValidDenseVertexSpacing(double v) - Specified by:
isValidDenseVertexSpacing
in classPolygonBuilder
-
getFirstElement
- Specified by:
getFirstElement
in classPolygonBuilder
-
getNextXElement
- Specified by:
getNextXElement
in classPolygonBuilder
-
getNextYElement
- Specified by:
getNextYElement
in classPolygonBuilder
-