Click or drag to resize

AlgorithmsGetLongestConnectedRayTCell, TPoint Method

Namespace:  Gamelogic.Grids
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static IEnumerable<TPoint> GetLongestConnectedRay<TCell, TPoint>(
	AbstractUniformGrid<TCell, TPoint> grid,
	TPoint point,
	Func<TPoint, TPoint, bool> isNeighborsConnected
)
where TPoint : Object, IVectorPoint<TPoint>, IGridPoint<TPoint>

Parameters

grid
Type: Gamelogic.GridsAbstractUniformGridTCell, TPoint
point
Type: TPoint
isNeighborsConnected
Type: SystemFuncTPoint, TPoint, Boolean

Type Parameters

TCell
The type of cell of the grid that this algorithm takes.
TPoint
The type of point of the grid that this algorithm takes.

Return Value

Type: IEnumerableTPoint
See Also