public new Polygon Shift(Shift passedShift) { return(new Polygon(this.Edges.Shift(passedShift), ValidateOption.Dont)); }
public Direction Shift(Shift shift) => shift.Matrix.ShiftDirection(this);
public Point Shift(Shift shift) => shift.MapPoint(this);
/// <summary> /// Shifts the Line with the given shift /// </summary> public Line Shift(Shift passedShift) => ApplyAffineTransformation(passedShift.AsAffineTransformation());
/// <summary> /// Shifts the plane region with the given shift /// </summary> /// <param name="shiftToApply">The shift to apply to this plane</param> /// <returns>Returns a new object of Plane that has been shifted</returns> public Plane Shift(Shift shiftToApply) => ApplyIsometry(shiftToApply);
/// <summary> /// Shifts the Polyhedron to another location and orientation /// </summary> public Polyhedron Shift(Shift passedShift) { var shiftedRegions = this.Faces.Shift(passedShift); return(new Polyhedron(shiftedRegions, ValidateOption.Dont)); }
/// <summary> /// Performs the Shift on this vector /// </summary> public Vector Shift(Shift passedShift) { return(new Vector(BasePoint.Shift(passedShift), EndPoint.Shift(passedShift))); }
public static List <T> Shift <T>(this IEnumerable <T> items, Shift shift) where T : IShift <T> { return(items.Select(item => item.Shift(shift)).ToList()); }