Matrix3D.Equality Operator (Matrix3D, Matrix3D)

 

Compares two Matrix3D instances for exact equality.

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

public static bool operator ==(
	Matrix3D matrix1,
	Matrix3D matrix2
)

Parameters

matrix1
Type: System.Windows.Media.Media3D.Matrix3D

The first matrix to compare.

matrix2
Type: System.Windows.Media.Media3D.Matrix3D

The second matrix to compare.

Return Value

Type: System.Boolean

Boolean that indicates whether the two matrix instances are equal.

Note that double values can acquire error when operated upon, so that an exact comparison between two values that are logically equal may fail. Furthermore, using this equality operator, Double.NaN is not equal to itself.

.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: