isRigid Method

Test if the matrix is a rigid matrix.

  • A rigid matrix is a rotation: its columns and rows are unit length and pairwise perpendicular, and its determinant is +1.

isRigid(allowMirror: booleanfalse): boolean

Parameter Type Description
allowMirror boolean whether to widen the test to also return true if the matrix is a mirror (determinant is -1).

Returns - boolean

Defined in

Last Updated: 21 November, 2024