Rect3D.Union Method

Definition

Updates a specified Rect3D to reflect the union of that Rect3D and a second specified Rect3D.

Overloads

Union(Rect3D, Rect3D)

Returns a new instance of Rect3D that represents the union of two Rect3D objects.

Union(Point3D)

Updates a specified Rect3D to reflect the union of that Rect3D and a specified Point3D.

Union(Rect3D)

Updates a specified Rect3D to reflect the union of that Rect3D and a second specified Rect3D.

Union(Rect3D, Point3D)

Returns a new Rect3D that represents the union of a Rect3D, and a specified Point3D.

Union(Rect3D, Rect3D)

Returns a new instance of Rect3D that represents the union of two Rect3D objects.

C#
public static System.Windows.Media.Media3D.Rect3D Union(System.Windows.Media.Media3D.Rect3D rect1, System.Windows.Media.Media3D.Rect3D rect2);

Parameters

rect1
Rect3D

First Rect3D.

rect2
Rect3D

Second Rect3D.

Returns

A Rect3D value that represents the result of the union of rect1 and rect2.

Remarks

Rect3D is typically used to represent the bounds of a MeshGeometry3D or Model3D.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

Union(Point3D)

Updates a specified Rect3D to reflect the union of that Rect3D and a specified Point3D.

C#
public void Union(System.Windows.Media.Media3D.Point3D point);

Parameters

point
Point3D

The Point3D whose union with the specified Rect3D is to be evaluated.

Remarks

Rect3D is typically used to represent the bounds of a MeshGeometry3D or Model3D.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

Union(Rect3D)

Updates a specified Rect3D to reflect the union of that Rect3D and a second specified Rect3D.

C#
public void Union(System.Windows.Media.Media3D.Rect3D rect);

Parameters

rect
Rect3D

The Rect3D whose union with the current Rect3D is to be evaluated.

Remarks

Rect3D is typically used to represent the bounds of a MeshGeometry3D or Model3D.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

Union(Rect3D, Point3D)

Returns a new Rect3D that represents the union of a Rect3D, and a specified Point3D.

C#
public static System.Windows.Media.Media3D.Rect3D Union(System.Windows.Media.Media3D.Rect3D rect, System.Windows.Media.Media3D.Point3D point);

Parameters

rect
Rect3D

The Rect3D whose union with the current Rect3D is to be evaluated.

point
Point3D

The Point3D whose union with the specified Rect3D is to be evaluated.

Returns

Result of the union of rect and point.

Remarks

Rect3D is typically used to represent the bounds of a MeshGeometry3D or Model3D.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9