Table of Contents

Method ReflectYInBounds

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

ReflectYInBounds(IExplicitShape<GridPoint2>)

Returns a new shape with Y reflected, but translated to keep it the same bounds as the original.

[Version(2, 3, 0)]
public static IExplicitShape<GridPoint2> ReflectYInBounds(this IExplicitShape<GridPoint2> shape)

Parameters

shape IExplicitShape<GridPoint2>

The shape to reflect.

Returns

IExplicitShape<GridPoint2>

ReflectYInBounds(IExplicitShape<GridPoint3>)

Returns a new shape with Y reflected, but translated to keep it the same bounds as the original.

[Version(2, 3, 0)]
public static IExplicitShape<GridPoint3> ReflectYInBounds(this IExplicitShape<GridPoint3> shape)

Parameters

shape IExplicitShape<GridPoint3>

The shape to reflect.

Returns

IExplicitShape<GridPoint3>