Modifica

Condividi tramite


Rect3D.IntersectsWith(Rect3D) Method

Definition

Returns a value that indicates whether the specified Rect3D intersects with this Rect3D.

public:
 bool IntersectsWith(System::Windows::Media::Media3D::Rect3D rect);
public bool IntersectsWith (System.Windows.Media.Media3D.Rect3D rect);
member this.IntersectsWith : System.Windows.Media.Media3D.Rect3D -> bool
Public Function IntersectsWith (rect As Rect3D) As Boolean

Parameters

rect
Rect3D

Rectangle to evaluate.

Returns

true if the specified Rect3D intersects with this Rect3D; false otherwise.

Remarks

If one edge of each Rect3D is coincident, it is considered an intersection.

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

Applies to