Matrix3D.Equality Operator
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Compares two Matrix3D instances for exact equality.
Namespace: System.Windows.Media.Media3D
Assembly: System.Windows (in System.Windows.dll)
Syntax
Public Shared Operator = ( _
matrix1 As Matrix3D, _
matrix2 As Matrix3D _
) As Boolean
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
true if the matrices are equal; otherwise, false.
Remarks
Double values can acquire error when they are operated upon, such that that an exact comparison between two values that are logically equal may fail if transforms or other math has been applied to the values.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone