factorRigidSkew Method

Compute the factorization M = R*G, where R is rigid (a rotation) and G is whatever is left over (skew, scale, mirror, etc).

factorRigidSkew(rotation: Matrix3d, skew: Matrix3d, axisOrder: AxisOrderAxisOrder.XYZ): boolean

@returns whether createRigidFromMatrix3d succeeded; if not, rotation is set to the identity, and skew is set to this instance.

Parameter Type Description
rotation Matrix3d the rigid factor R
skew Matrix3d the non-rotation factor G = R^t * M (since R transposed is its inverse)
axisOrder AxisOrder optional cross product ordering for computing R

Returns - boolean

whether createRigidFromMatrix3d succeeded; if not, rotation is set to the identity, and skew is set to this instance.

Defined in

Last Updated: 14 November, 2024