Rect3D.Equality(Rect3D, Rect3D) Rect3D.Equality(Rect3D, Rect3D) Rect3D.Equality(Rect3D, Rect3D) Rect3D.Equality(Rect3D, Rect3D) Operator

定義

比較兩個 Rect3D 執行個體是否完全相等。Compares two Rect3D instances for exact equality.

public:
 static bool operator ==(System::Windows::Media::Media3D::Rect3D rect1, System::Windows::Media::Media3D::Rect3D rect2);
public static bool operator == (System.Windows.Media.Media3D.Rect3D rect1, System.Windows.Media.Media3D.Rect3D rect2);
static member ( = ) : System.Windows.Media.Media3D.Rect3D * System.Windows.Media.Media3D.Rect3D -> bool
Public Shared Operator == (rect1 As Rect3D, rect2 As Rect3D) As Boolean

參數

rect1
Rect3D Rect3D Rect3D Rect3D

要評估的第一個 Rect3DFirst Rect3D to evaluate.

rect2
Rect3D Rect3D Rect3D Rect3D

要評估的第二個 Rect3DSecond Rect3D to evaluate.

傳回

如果兩個 Rect3D 執行個體完全相等則為 true,否則為 falsetrue if the two Rect3D instances are exactly equal; false otherwise.

備註

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

適用於