createRotateVectorAroundVector MethodStatic

Return a vector which is the input vector rotated around the axis vector.

createRotateVectorAroundVector(vector: Vector3d, axis: Vector3d, angle?: Angle): Vector3d | undefined

Parameter Type Description
vector Vector3d initial vector
axis Vector3d axis of rotation
angle Angle angle of rotation. If undefined, 90 degrees is implied

Returns - Vector3d | undefined

undefined if axis has no length.

Defined in

Last Updated: 13 June, 2024