Package org.geotools.grid.oblong
Class OblongBuilder
- Object
- 
- PolygonBuilder
- 
- OblongBuilder
 
 
- 
 public class OblongBuilder extends PolygonBuilder Used byOblongsclass to build grids.- Since:
- 2.7
- Author:
- mbedward
 
- 
- 
Field Summary- 
Fields inherited from class PolygonBuildergridBounds
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description OblongcreateNeighbor(PolygonElement el, Neighbor neighbor)Creates a newOblongpositioned at the given neighbor position relative to the reference element.PolygonElementgetFirstElement()PolygonElementgetNextXElement(PolygonElement el)PolygonElementgetNextYElement(PolygonElement el)booleanisValidDenseVertexSpacing(double v)booleanisValidNeighbor(Neighbor neighbor)- 
Methods inherited from class PolygonBuilderbuildGrid
 
- 
 
- 
- 
- 
Method Detail- 
isValidNeighborpublic boolean isValidNeighbor(Neighbor neighbor) - Specified by:
- isValidNeighborin class- PolygonBuilder
 
 - 
createNeighborpublic Oblong createNeighbor(PolygonElement el, Neighbor neighbor) Creates a newOblongpositioned at the given neighbor position relative to the reference element.- Specified by:
- createNeighborin class- PolygonBuilder
- Parameters:
- el- the reference oblong
- neighbor- a neighbour position
- Returns:
- a new Oblongobject
- Throws:
- IllegalArgumentException- if either argument is- nullor if- elis not an instance of- Oblong
 
 - 
isValidDenseVertexSpacingpublic boolean isValidDenseVertexSpacing(double v) - Specified by:
- isValidDenseVertexSpacingin class- PolygonBuilder
 
 - 
getFirstElementpublic PolygonElement getFirstElement() - Specified by:
- getFirstElementin class- PolygonBuilder
 
 - 
getNextXElementpublic PolygonElement getNextXElement(PolygonElement el) - Specified by:
- getNextXElementin class- PolygonBuilder
 
 - 
getNextYElementpublic PolygonElement getNextYElement(PolygonElement el) - Specified by:
- getNextYElementin class- PolygonBuilder
 
 
- 
 
-