Interface AroundCellIterator<P extends GISPrimitive>

  • Type Parameters:
    P - is the type of the user data inside the node.
    All Superinterfaces:
    Iterator<GridCell<P>>

    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 Detail

      • getLevel

        int getLevel()
        Replies the index of the cocentric circle on which the last element replied by Iterator.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.