Rotate around the Z axis and then the Y axis

Rota_Inverse_YZ(OP, Agl_Y, Agl_Z)

Arguments

OP

x, y, z coordinates

Agl_Y

Rotation angle around Y (radian)

Agl_Z

Rotation angle around Z (radian)

Value

The rotated point

Examples

Rota_Inverse_YZ(matrix(rep(0,3), ncol = 1), 0.8517207, 0)
#> [,1] #> [1,] 0 #> [2,] 0 #> [3,] 0