SMC_Matrix3_IsRotation (FUN)

 

FUNCTION SMC_Matrix3_IsRotation : BOOL

Returns whether the given matrix is orthogonal, i.e. the column vectors are orthogonal units, and the basis formed by these units is right-handed. up to a given epsilon.

Equivalently, tests whether R*R^T = I and det(R) = 1.

InOut:

Scope

Name

Type

Return

SMC_Matrix3_IsRotation

BOOL

Inout Const

mR

SMC_Matrix3

Input

dEpsRel

LREAL