createRotationAroundAxisIndex MethodStatic

Returns a rotation of specified angle around an axis

createRotationAroundAxisIndex(axisIndex: AxisIndex, angle: Angle, result?: Matrix3d): Matrix3d

Parameter Type Description
axisIndex AxisIndex index of axis (AxisIndex.X, AxisIndex.Y, AxisIndex.Z) kept fixed by the rotation.
angle Angle angle of rotation
result Matrix3d optional result matrix.

Returns - Matrix3d

Defined in

Last Updated: 12 June, 2024