isRigid Method
Test if the matrix is a rigid
matrix (or pure rotation
, i.e., columns and rows are unit length and
pairwise perpendicular and determinant is +1).
isRigid(allowMirror: booleanfalse): boolean
Parameter | Type | Description |
---|---|---|
allowMirror | boolean | whether to widen the test to return true if the matrix is a mirror (determinant is -1). |
Returns - boolean
Defined in
- geometry3d/Matrix3d.ts Line 2760
Last Updated: 28 October, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.