예제 #1
0
 public Figure MoveByAxis(double delta, Axis axis)
 {
     return(new Figure
     {
         Pivot = Pivot.MoveByAxis(delta, axis),
         Polygons = Polygons
                    .Select(polygon => polygon.MoveByAxis(delta, axis))
                    .ToList(),
         RotationVector = RotationVector.MoveByAxis(delta, axis)
     });
 }