Method Translate
Translate(IImplicitShape<int>, int)
Creates a 1D Translation Shape with a given offset.
public static IImplicitShape<int> Translate(this IImplicitShape<int> shape, int offset)
Parameters
shape
IImplicitShape<int>Base shape used to make the translation.
offset
intOffset to perform in the shape.
Returns
Translate(IImplicitShape<GridPoint2>, GridPoint2)
Creates a 2D Translate Shape.
public static IImplicitShape<GridPoint2> Translate(this IImplicitShape<GridPoint2> shape, GridPoint2 offset)
Parameters
shape
IImplicitShape<GridPoint2>Base Shape to translate.
offset
GridPoint2Offset of the translation.
Returns
Translate(IImplicitShape<GridPoint3>, GridPoint3)
Creates a 3D Translate Shape.
public static IImplicitShape<GridPoint3> Translate(this IImplicitShape<GridPoint3> shape, GridPoint3 offset)
Parameters
shape
IImplicitShape<GridPoint3>Base shape to translate.
offset
GridPoint3Offset of the movement of the shape.