createRigidFromOriginAndColumns MethodStatic

Create a Transform with given origin and a rigid matrix constructed from two column vectors.

createRigidFromOriginAndColumns(origin: XYZ, vectorX: Vector3d, vectorY: Vector3d, axisOrder: AxisOrder, result?: Transform): undefined | Transform

@returns localToWorld transform for a local coordinate system with given origin and ordered axes, or undefined if the rigid matrix could not be created.

@see createRigidFromColumns

Parameter Type Description
origin XYZ origin of the local coordinate system. Default is the global origin (zero).
vectorX Vector3d first axis passed into Matrix3d.createRigidFromColumns.
vectorY Vector3d second axis passed into Matrix3d.createRigidFromColumns.
axisOrder AxisOrder order of axis construction in Matrix3d.createRigidFromColumns(vectorX, vectorY, axisOrder).
result Transform optional pre-allocated result to populate and return.

Returns - undefined | Transform

localToWorld transform for a local coordinate system with given origin and ordered axes, or undefined if the rigid matrix could not be created.

Defined in

Last Updated: 07 June, 2025