GridExtensionsGetNeighbors Method |
| Name | Description | |
|---|---|---|
| GetNeighborsTCell, TPoint(IGridTCell, TPoint, TPoint) |
Only return neighbors of the point that are inside the grid, as defined by Contains.
| |
| GetNeighborsTCell, TPoint(IGridTCell, TPoint, TPoint, FuncTCell, Boolean) |
Only return neighbors of the point that are inside the grid, as defined by IsInside,
whose associated cells also satisfy the predicate includeCell.
It is equivalent to GetNeighbors(point).Where(p => includeCell(grid[p])
| |
| GetNeighborsTCell, TPoint(IGridTCell, TPoint, TPoint, FuncTPoint, Boolean) |
Only return neighbors of the point that are inside the grid, as defined by IsInside,
that also satisfies the predicate includePoint.
It is equivalent to GetNeighbors(point).Where(includePoint).
|