This documentation is archived and is not being maintained.

Quaternion.Equals Method (Quaternion)

Compares two Quaternion instances for equality.

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

public bool Equals(
	Quaternion value
You cannot use methods in XAML.


Type: System.Windows.Media.Media3D.Quaternion

Quaternion with which 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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0