Rect3D.Equals Rect3D.Equals Rect3D.Equals Rect3D.Equals Method

定義

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

多載

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

Equals(Rect3D) Equals(Rect3D) Equals(Rect3D) Equals(Rect3D)

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

Equals(Rect3D, Rect3D) Equals(Rect3D, Rect3D) Equals(Rect3D, Rect3D) Equals(Rect3D, Rect3D)

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

備註

請注意, 當運算Double時, 類型的值可能會取得錯誤; 兩個邏輯相等值之間的精確比較可能會失敗。Note that values of type Double might acquire error when operated upon; an exact comparison between two logically-equal values might fail.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

public:
 override bool Equals(System::Object ^ o);
public override bool Equals (object o);
override this.Equals : obj -> bool
Public Overrides Function Equals (o As Object) As Boolean

參數

o
Object Object Object Object

要比較的物件。The object to compare.

傳回

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

備註

請注意, 當運算Double時, 類型的值可能會取得錯誤; 兩個邏輯相等Rect3D值之間的精確比較可能會失敗。Note that values of type Double might acquire error when operated upon; an exact comparison between two logically-equal Rect3D values might fail.

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

Equals(Rect3D) Equals(Rect3D) Equals(Rect3D) Equals(Rect3D)

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

public:
 bool Equals(System::Windows::Media::Media3D::Rect3D value);
public bool Equals (System.Windows.Media.Media3D.Rect3D value);
override this.Equals : System.Windows.Media.Media3D.Rect3D -> bool
Public Function Equals (value As Rect3D) As Boolean

參數

value
Rect3D Rect3D Rect3D Rect3D

要與目前執行個體比較的 Rect3D 執行個體。The Rect3D instance to compare with the current instance.

傳回

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

備註

請注意, 當運算Double時, 類型的值可能會取得錯誤; 兩個邏輯相等Rect3D值之間的精確比較可能會失敗。Note that values of type Double might acquire error when operated upon; an exact comparison between two logically-equal Rect3D values might fail.

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

Equals(Rect3D, Rect3D) Equals(Rect3D, Rect3D) Equals(Rect3D, Rect3D) Equals(Rect3D, Rect3D)

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

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

參數

rect1
Rect3D Rect3D Rect3D Rect3D

要比較的第一個 Rect3DFirst Rect3D to compare.

rect2
Rect3D Rect3D Rect3D Rect3D

要比較的第二個 Rect3DSecond Rect3D to compare.

傳回

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

備註

請注意, 當運算Double時, 類型的值可能會取得錯誤; 兩個邏輯相等Rect3D值之間的精確比較可能會失敗。Note that values of type Double might acquire error when operated upon; an exact comparison between two logically-equal Rect3D values might fail.

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

適用於