Rect3D.Intersect Method (Rect3D, Rect3D)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Returns the intersection of the specified Rect3D values.

Namespace:   System.Windows.Media.Media3D
Assembly:  PresentationCore (in PresentationCore.dll)

public static Rect3D Intersect(
	Rect3D rect1,
	Rect3D rect2

Return Value

Type: System.Windows.Media.Media3D.Rect3D

Result of the intersection of rect1 and rect2.

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.

.NET Framework
Available since 3.0
Return to top