Quaternion.Inequality(Quaternion, Quaternion) 运算符

定义

比较两个 Quaternion 实例是否完全不相等。Compares two Quaternion instances for exact inequality.

public:
 static bool operator !=(System::Windows::Media::Media3D::Quaternion quaternion1, System::Windows::Media::Media3D::Quaternion quaternion2);
public static bool operator != (System.Windows.Media.Media3D.Quaternion quaternion1, System.Windows.Media.Media3D.Quaternion quaternion2);
static member op_Inequality : System.Windows.Media.Media3D.Quaternion * System.Windows.Media.Media3D.Quaternion -> bool
Public Shared Operator != (quaternion1 As Quaternion, quaternion2 As Quaternion) As Boolean

参数

quaternion1
Quaternion

要比较的第一个四元数。First quaternion to compare.

quaternion2
Quaternion

要比较的第二个四元数。Second quaternion to compare.

返回

Boolean

如果两个 Quaternion 实例完全相等,则为 true;否则为 falsetrue if the two Quaternion instances are exactly equal, false otherwise.

注解

使用 Double 值描述 Quaternion 组件。Quaternion components are described using Double values. 由于 Double 的值在运算时可能会丢失精度,因此两个逻辑上相等的 Quaternion 值之间的比较可能会失败。Because the value of a Double can lose precision when operated upon, a comparison between two Quaternion values that are logically equal might fail.

适用于