Quaternion.Inequality Operator (Quaternion, Quaternion)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Compares two Quaternion instances for exact inequality.

Namespace:   System.Windows.Media.Media3D
Assembly:  PresentationCore (in PresentationCore.dll)

public static bool operator !=(
	Quaternion quaternion1,
	Quaternion quaternion2
)

Parameters

quaternion1
Type: System.Windows.Media.Media3D.Quaternion

First quaternion to compare.

quaternion2
Type: System.Windows.Media.Media3D.Quaternion

Second quaternion to compare.

Return Value

Type: System.Boolean

true if the two Quaternion instances are exactly equal, false otherwise.

Quaternion components are described using Double values. Because the value of a Double can lose precision when operated upon, a comparison between two Quaternion values that are logically equal might fail.

.NET Framework
Available since 3.0
Return to top
Show: