getAxisAndAngleOfRotation Method

Compute the (unit vector) axis and angle of rotation.

getAxisAndAngleOfRotation(): { angle: Angle, axis: Vector3d, ok: boolean }

Returns - { angle: Angle, axis: Vector3d, ok: boolean }

Returns axis and angle of rotation with result.ok === true when the conversion succeeded.

Defined in

Last Updated: 30 November, 2023