Module org.arakhne.afc.gis.giscore
Package org.arakhne.afc.gis.grid
Interface AroundCellIterator<P extends GISPrimitive>
-
- Type Parameters:
P
- is the type of the user data inside the node.
interface AroundCellIterator<P extends GISPrimitive> extends Iterator<GridCell<P>>
Iterator that is replying the cells around a specified position.- Since:
- 14.0
- Version:
- 17.0 2020-01-04 14:41:53
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.gis
- Maven Artifact Id:
- giscore
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getLevel()
Replies the index of the cocentric circle on which the last element replied byIterator.next()
is.-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
-
-
-
Method Detail
-
getLevel
int getLevel()
Replies the index of the cocentric circle on which the last element replied byIterator.next()
is.- Returns:
0
if the cell is the center,1
if the cell is on the first circle around,2
if the cell is on the second circle around, etc.
-
-