 | AlgorithmsGetBiggestShapeTPoint Method |
Gets the biggest shape (by number of points) in the given list.
Namespace:
Gamelogic.Grids
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntaxpublic static IEnumerable<TPoint> GetBiggestShape<TPoint>(
IEnumerable<IEnumerable<TPoint>> shapes
)
where TPoint : Object, IGridPoint<TPoint>
Parameters
- shapes
- Type: System.Collections.GenericIEnumerableIEnumerableTPoint
Each shape is represented as a list of points.
Type Parameters
- TPoint
- The type of point of the shapes.
Return Value
Type:
IEnumerableTPoint
See Also