createRigidFromMatrix3d MethodStatic

Create a new orthogonal matrix by calling makeRigid on a clone of source.

createRigidFromMatrix3d(source: Matrix3d, axisOrder: AxisOrder = AxisOrder.XYZ, result?: Matrix3d): Matrix3d | undefined

@returns rigid matrix, or undefined if the operation failed.

Parameter Type Description
source Matrix3d input matrix
axisOrder AxisOrder how to reorder the matrix columns. A left-handed ordering will return a mirror.
result Matrix3d optional preallocated result to populate and return

Returns - Matrix3d | undefined

rigid matrix, or undefined if the operation failed.

Defined in

Last Updated: 27 May, 2026