AlgorithmsAggregateNeighborhoodTCell, TPoint, TResultGrid, TResultCell Method (IGridTCell, TPoint, FuncTPoint, IEnumerableTPoint, TResultCell) |
Namespace: Gamelogic.Grids
public static TResultGrid AggregateNeighborhood<TCell, TPoint, TResultGrid, TResultCell>( IGrid<TCell, TPoint> grid, Func<TPoint, IEnumerable<TPoint>, TResultCell> aggregator ) where TPoint : Object, IGridPoint<TPoint> where TResultGrid : Object, IGrid<TResultCell, TPoint>