::hwat::math::CheckTransformMatrix

Checks the validity of the given transormation matrix.

Syntax

::hwat::math::CheckTransformMatrix d_matrixList

Arguments

d_matrixList
The list contains 9 elements – 3 rotation components for X, Y, and Z respectively

Returns

Success
1; matrix appears to be valid
Failure
{}; matrix is not valid

Example

::hwat::math::CheckTransformMatrix $theMatrixList

Comments

Performs various sanity checks on the given cosine matrix to help ensure that it is a valid matrix. If the test fails, the user may want to call the CheckReflection function to see if the matrix has reflective properties.