Click or drag to resize

AlgorithmsAggregateNeighborhoodTCell, TPoint, TResultGrid, TResultCell Method (IGridTCell, TPoint, FuncTPoint, IEnumerableTPoint, TResultCell)

Namespace:  Gamelogic.Grids
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
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>

Parameters

grid
Type: Gamelogic.GridsIGridTCell, TPoint
aggregator
Type: SystemFuncTPoint, IEnumerableTPoint, TResultCell

Type Parameters

TCell
TPoint
TResultGrid
TResultCell

Return Value

Type: TResultGrid
See Also