API Reference > geometry-core > CartesianGeometry > Matrix3d > createRotationAroundAxisIndex 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 geometry3d/Matrix3d.ts Line 613 Last Updated: 12 June, 2024