TMtx::Equal Method

Overload List

#SignatureDescription
1bool Equal(TMtx *Mtx, double Tolerance = 0);Compares two matrices.
2bool Equal(TMtx *Mtx, double Tolerance, TCompare Compare);Allows to specify the comparison method via the Compare parameter.

Overload 1: bool Equal(TMtx *Mtx, double Tolerance = 0);

Compares two matrices.

#NameTypeDescription
1MtxTMtx *
2Tolerance = 0double
Remarks:

Compares Mtx with the calling matrix and returns true if the matrices are equal (if all elements match in position and value). Tolerance defines the comparison tolerance. The maximum difference between elements may not exceed: +/-Tolerance. If Tolerance is omitted, a direct comparison algorithm is used.

Declared in Dew::Math::TMtx · Dew.Math/MtxVec.h · Cross-compiler

Overload 2: bool Equal(TMtx *Mtx, double Tolerance, TCompare Compare);

Allows to specify the comparison method via the Compare parameter.

#NameTypeDescription
1MtxTMtx *
2Tolerancedouble
3CompareTCompare
Declared in Dew::Math::TMtx · Dew.Math/MtxVec.h · Cross-compiler