Ejemplo n.º 1
0
 /// <summary>
 /// Return the result of the union of rect and point.
 /// </summary>
 /// <param name="rect">Rectangle.</param>
 /// <param name="point">Point.</param>
 /// <returns>The result of the union of rect and point.</returns>
 public static Rect3D Union(Rect3D rect, Point3D point)
 {
     rect.Union(new Rect3D(point, point));
     return(rect);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Return the result of the union of rect and point.
 /// </summary>
 /// <param name="rect">Rectangle.</param>
 /// <param name="point">Point.</param>
 /// <returns>The result of the union of rect and point.</returns>
 public static Rect3D Union(Rect3D rect, Point3D point)
 {
     rect.Union(new Rect3D(point, point));
     return rect;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Return the result of the union of rect1 and rect2.
 /// </summary>
 /// <param name="rect1">First rectangle.</param>
 /// <param name="rect2">Second rectangle.</param>
 /// <returns>The result of the union of the two rectangles.</returns>
 public static Rect3D Union(Rect3D rect1, Rect3D rect2)
 {
     rect1.Union(rect2);
     return(rect1);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Return the result of the union of rect1 and rect2.
 /// </summary>
 /// <param name="rect1">First rectangle.</param>
 /// <param name="rect2">Second rectangle.</param>
 /// <returns>The result of the union of the two rectangles.</returns>
 public static Rect3D Union(Rect3D rect1, Rect3D rect2)
 {
     rect1.Union(rect2);
     return rect1;
 }