Rect3D.Union Method (Rect3D, Point3D)


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

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

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

public static Rect3D Union(
	Rect3D rect,
	Point3D point


Type: System.Windows.Media.Media3D.Rect3D

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

Type: System.Windows.Media.Media3D.Point3D

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

Return Value

Type: System.Windows.Media.Media3D.Rect3D

Result of the union of rect and point.

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

.NET Framework
Available since 3.0
Return to top