Ejemplo n.º 1
0
 /// <summary>
 /// Offset - return the result of offsetting rect by the offset provided
 /// If this is Empty, this method is illegal.
 /// </summary>
 /// <param name="rect"></param>
 /// <param name="offsetX"></param>
 /// <param name="offsetY"></param>
 /// <param name="offsetZ"></param>
 /// <returns></returns>
 public static Rect3D Offset(Rect3D rect, double offsetX, double offsetY, double offsetZ)
 {
     rect.Offset(offsetX, offsetY, offsetZ);
     return(rect);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Offset - return the result of offsetting rect by the offset provided
 /// If this is Empty, this method is illegal.
 /// </summary>
 /// <param name="rect"></param>
 /// <param name="offsetX"></param>
 /// <param name="offsetY"></param>
 /// <param name="offsetZ"></param>
 /// <returns></returns>
 public static Rect3D Offset(Rect3D rect, double offsetX, double offsetY, double offsetZ)
 {
     rect.Offset(offsetX, offsetY, offsetZ);
     return rect;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Offset - return the result of offsetting rect by the offset provided
 /// If this is Empty, this method is illegal.
 /// </summary>
 /// <param name="rect"></param>
 /// <param name="offsetVector"></param>
 /// <returns></returns>
 public static Rect3D Offset(Rect3D rect, Vector3D offsetVector)
 {
     rect.Offset(offsetVector._x, offsetVector._y, offsetVector._z);
     return(rect);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Offset - return the result of offsetting rect by the offset provided
 /// If this is Empty, this method is illegal.
 /// </summary>
 /// <param name="rect"></param>
 /// <param name="offsetVector"></param>
 /// <returns></returns>
 public static Rect3D Offset(Rect3D rect, Vector3D offsetVector)
 {
     rect.Offset(offsetVector._x, offsetVector._y, offsetVector._z);
     return rect;
 }