Click or drag to resize

AlgorithmsTransformShapeTPoint Method

Transform each point in the list with the give point transformation.

Namespace:  Gamelogic.Grids
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static IEnumerable<TPoint> TransformShape<TPoint>(
	IEnumerable<TPoint> shape,
	Func<TPoint, TPoint> pointTransformation
)
where TPoint : Object, IGridPoint<TPoint>

Parameters

shape
Type: System.Collections.GenericIEnumerableTPoint
pointTransformation
Type: SystemFuncTPoint, TPoint

Type Parameters

TPoint

Return Value

Type: IEnumerableTPoint
See Also