Editare

Partajați prin


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.

public:
 static System::Windows::Media::Media3D::Rect3D Union(System::Windows::Media::Media3D::Rect3D rect1, System::Windows::Media::Media3D::Rect3D rect2);
public static System.Windows.Media.Media3D.Rect3D Union (System.Windows.Media.Media3D.Rect3D rect1, System.Windows.Media.Media3D.Rect3D rect2);
static member Union : System.Windows.Media.Media3D.Rect3D * System.Windows.Media.Media3D.Rect3D -> System.Windows.Media.Media3D.Rect3D
Public Shared Function Union (rect1 As Rect3D, rect2 As Rect3D) As Rect3D

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

Union(Point3D)

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

public:
 void Union(System::Windows::Media::Media3D::Point3D point);
public void Union (System.Windows.Media.Media3D.Point3D point);
member this.Union : System.Windows.Media.Media3D.Point3D -> unit
Public Sub Union (point As Point3D)

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

Union(Rect3D)

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

public:
 void Union(System::Windows::Media::Media3D::Rect3D rect);
public void Union (System.Windows.Media.Media3D.Rect3D rect);
member this.Union : System.Windows.Media.Media3D.Rect3D -> unit
Public Sub Union (rect As Rect3D)

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

Union(Rect3D, Point3D)

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

public:
 static System::Windows::Media::Media3D::Rect3D Union(System::Windows::Media::Media3D::Rect3D rect, System::Windows::Media::Media3D::Point3D point);
public static System.Windows.Media.Media3D.Rect3D Union (System.Windows.Media.Media3D.Rect3D rect, System.Windows.Media.Media3D.Point3D point);
static member Union : System.Windows.Media.Media3D.Rect3D * System.Windows.Media.Media3D.Point3D -> System.Windows.Media.Media3D.Rect3D
Public Shared Function Union (rect As Rect3D, point As Point3D) As Rect3D

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