Rect3D.Intersect Method

Definition

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

Overloads

Intersect(Rect3D)

Finds the intersection of the current Rect3D and the specified Rect3D, and stores the result as the current Rect3D.

Intersect(Rect3D, Rect3D)

Returns the intersection of the specified Rect3D values.

Intersect(Rect3D)

Finds the intersection of the current Rect3D and the specified Rect3D, and stores the result as the current Rect3D.

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

Parameters

rect
Rect3D

The Rect3D to intersect with the current Rect3D.

Remarks

If the value of either specified rectangle is empty, this method returns an empty value.

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, 10

Intersect(Rect3D, Rect3D)

Returns the intersection of the specified Rect3D values.

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

Parameters

rect1
Rect3D

First Rect3D.

rect2
Rect3D

Second Rect3D.

Returns

Result of the intersection of rect1 and rect2.

Remarks

If the value of either specified rectangle is empty, this method returns an empty value.

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, 10