@ Pure public AroundCellIterable < P > getGridCellsAround ( Point2D < ? , ? > position , double maximalDistance ) { final int column = getColumnFor ( position . getX ( ) ) ; final int row = getRowFor ( position . getY ( ) ) ; return new AroundIterable ( row , column , position , maximalDistance ) ; }
Replies the cells around the specified point . The order of the replied cells follows cocentric circles around the cell that contains the specified point .