Rotation3D Function

public function Rotation3D(vector, rotx, roty, rotz, n, angle) result(vec)

It rotates 3-D vector.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: vector(3)
real(kind=real64), intent(in), optional :: rotx
real(kind=real64), intent(in), optional :: roty
real(kind=real64), intent(in), optional :: rotz
real(kind=real64), intent(in), optional :: n(3)
real(kind=real64), intent(in), optional :: angle

Return Value real(kind=real64), (3)