Equals Method (Object)

Quaternion.Equals Method (Object)

 

Compares two Quaternion instances for equality.

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

public override bool Equals(
	object o
)

Parameters

o
Type: System.Object

Object 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.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft