Επεξεργασία

Κοινή χρήση μέσω


Matrix3D.Equality(Matrix3D, Matrix3D) Operator

Definition

Compares two Matrix3D instances for exact equality.

public:
 static bool operator ==(System::Windows::Media::Media3D::Matrix3D matrix1, System::Windows::Media::Media3D::Matrix3D matrix2);
public static bool operator == (System.Windows.Media.Media3D.Matrix3D matrix1, System.Windows.Media.Media3D.Matrix3D matrix2);
static member ( = ) : System.Windows.Media.Media3D.Matrix3D * System.Windows.Media.Media3D.Matrix3D -> bool
Public Shared Operator == (matrix1 As Matrix3D, matrix2 As Matrix3D) As Boolean

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