Rect3D.Inequality(Rect3D, Rect3D) Rect3D.Inequality(Rect3D, Rect3D) Rect3D.Inequality(Rect3D, Rect3D) Rect3D.Inequality(Rect3D, Rect3D) Operator

定義

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

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 op_Inequality : 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 compare.

rect2
Rect3D Rect3D Rect3D Rect3D

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

傳回

如果兩個 Rect3D 執行個體完全不相等則為 true,否則為 false。True if the two Rect3D instances are unequal, false otherwise.

備註

請注意Double , 在操作時, 值可能會取得錯誤; 在邏輯Rect3D上相等的兩個值之間的精確比較可能會失敗。Note that Double values can acquire error when operated upon; an exact comparison between two Rect3D values which are logically equal might fail.

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

適用於