Edit

Bagikan melalui


Rect3D.Inequality(Rect3D, Rect3D) Operator

Definition

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

Parameters

rect1
Rect3D

First Rect3D to compare.

rect2
Rect3D

Second Rect3D to compare.

Returns

true if the two Rect3D instances are unequal, false otherwise.

Remarks

Note that Double values can acquire error when operated upon; an exact comparison between two Rect3D values which are logically equal might fail.

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

Applies to