Matrix3D.Equality(Matrix3D, Matrix3D) Operator

Definition

Compares two Matrix3D instances for exact equality.

C#
public static bool operator ==(System.Windows.Media.Media3D.Matrix3D matrix1, System.Windows.Media.Media3D.Matrix3D matrix2);

Parameters

matrix1
Matrix3D

The first matrix to compare.

matrix2
Matrix3D

The second matrix to compare.

Returns

Boolean that indicates whether the two matrix instances are equal.

Remarks

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.

Applies to

Tuote Versiot
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10