 | 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
Syntaxpublic 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