Rect3D.IntersectsWith(Rect3D) Rect3D.IntersectsWith(Rect3D) Rect3D.IntersectsWith(Rect3D) Rect3D.IntersectsWith(Rect3D) Method

定義

傳回值,這個值表示指定的 Rect3D 是否與此 Rect3D 相交。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

參數

rect
Rect3D Rect3D Rect3D Rect3D

要評估的矩形。Rectangle to evaluate.

傳回

如果指定的 Rect3DRect3D 相交則為 true,否則為 falsetrue if the specified Rect3D intersects with this Rect3D; false otherwise.

備註

如果每Rect3D一個邊緣重合, 則視為交集。If one edge of each Rect3D is coincident, it is considered an intersection.

Rect3D通常用來表示MeshGeometry3DModel3D的界限。Rect3D is typically used to represent the bounds of a MeshGeometry3D or Model3D.

適用於