Click or drag to resize

AlgorithmsGetLongestConnectedTCell, TPoint, TBasePoint Method

Note: This API is now obsolete.

Namespace:  Gamelogic.Grids
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
[ObsoleteAttribute("Use GetLongestConnectedLine instead. Will be removed in a future version.")]
public static IEnumerable<TPoint> GetLongestConnected<TCell, TPoint, TBasePoint>(
	IEvenGrid<TCell, TPoint, TBasePoint> grid,
	TPoint point,
	Func<TPoint, TPoint, bool> isNeighborsConnected
)
where TPoint : Object, ISplicedVectorPoint<TPoint, TBasePoint>, IGridPoint<TPoint>
where TBasePoint : Object, IVectorPoint<TBasePoint>, IGridPoint<TBasePoint>

Parameters

grid
Type: Gamelogic.GridsIEvenGridTCell, TPoint, TBasePoint
point
Type: TPoint
isNeighborsConnected
Type: SystemFuncTPoint, TPoint, Boolean

Type Parameters

TCell
TPoint
TBasePoint

Return Value

Type: IEnumerableTPoint
See Also