Rotates a three-dimensional Cartesian coordinate in the counterclockwise direction using the direction method. Wire data to the X input to determine the polymorphic instance to use or manually select the instance.


icon

For a point P, α, β, and γ are the direction angles of vector OP, as shown in the following illustration:

The cosines of the direction angles are direction cosines.

Before the rotation, the coordinate of point P is (x, y, z). After the rotation, the coordinate of point P is (x', y', z'), where

A is the Rotation Matrix defined by:

α1, β1, and γ1 are the direction angles of the X'-axis to the X-, Y-, and Z-axes. α2, β2, and γ2 are the direction angles of the Y'-axis to the X-, Y-, and Z-axes. α3, β3, and γ3 are the direction angles of the Z'-axis to the X-, Y-, and Z-axes.