Rotate point around Y and (then) Z axes.

Rota_YZ(OP, Agl_Y, Agl_Z)

Arguments

OP

A 3d point (x,y,z)

Agl_Y

Rotation angle around Y (radian)

Agl_Z

Rotation angle around Z (radian)

Value

The rotated point

Examples

Rota_YZ(c(2.681,0,0),0.85172,0)
#> [,1] #> [1,] 1.765948 #> [2,] 0.000000 #> [3,] 2.017223