createRigidFromColumns MethodStatic

Create a new orthogonal matrix (perpendicular columns, unit length, transpose is inverse).

  • vectorA1 = Normalized vectorA is placed in the column specified by the first letter in the AxisOrder name.
  • Normalized vectorC1 = vectorA1 cross vectorB is placed in the column specified by the third letter in the AxisOrder name.
  • Normalized vectorC1 cross vectorA is placed in the column specified by the second letter in the AxisOrder name.
  • This function internally uses createShuffledColumns.

createRigidFromColumns(vectorA: Vector3d, vectorB: Vector3d, axisOrder: AxisOrder, result?: Matrix3d): Matrix3d | undefined

Parameter Type Description
vectorA Vector3d  
vectorB Vector3d  
axisOrder AxisOrder  
result Matrix3d  

Returns - Matrix3d | undefined

Defined in

Last Updated: 27 May, 2026