rotate_vector_forward()
Description: Interprets Euler angles to rotate vectors.
Usage
rotated_vector = rotate_vector_forward(vector, angle);
Arguments
- vector The vectors ([[x1,y1,z1]…[xn,yn,zn]]) to be rotated.
- angle Euler angles of the form [ θ ψ φ ]. All angles should be in radians.
Output Parameters
- rotated_vector The rotated input vector.
Notes
The input vector must be three-dimensional, even if some
dimensions are zero. FOCUS interprets Euler angles such that θ rotates the vector about the y axis, ψ rotates the vector about the x′ axis, and φ rotates the vector about the z′′ axis.

