Click or drag to resize

ClickAndTeachViewModelCheckMatricesOnEquality Method

Checks all elements of the two given matrices on equality; i.e. matrixA[i,j] == matrixB[i,j] for all i, j.

Namespace: RAYLASE.Marker.ClickAndTeachPlugin
Assembly: RAYLASE.Marker.ClickAndTeachPlugin (in RAYLASE.Marker.ClickAndTeachPlugin.dll) Version: 2.49.0
Syntax
C#
public bool CheckMatricesOnEquality(
	dmat4 matrixA,
	dmat4 matrixB,
	double tolerance = 1E-10
)

Parameters

matrixA  dmat4
The first matrix to compare.
matrixB  dmat4
The second matrix to compare.
tolerance  Double  (Optional)
Allowed difference of an element to be accepted as equal.

Return Value

Boolean
true if all pairs of elements are equal.
See Also