/// <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); }
/// <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; }
/// <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); }
/// <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; }