rotate_by_axis_angle Subroutine

private pure subroutine rotate_by_axis_angle(self, axis, angle)

Rotate vector given axis and angle.

Angle must be in radiants.

Arguments

TypeIntentOptionalAttributesName
class(vector_R8P), intent(inout) :: self

Vector.

type(vector_R8P), intent(in) :: axis

Axis of rotation.

real(kind=R8P), intent(in) :: angle

Angle of rotation.


Calls

proc~~rotate_by_axis_angle~~CallsGraph proc~rotate_by_axis_angle rotate_by_axis_angle proc~rotation_matrix_r8p rotation_matrix_R8P proc~rotate_by_axis_angle->proc~rotation_matrix_r8p proc~normalized_r8p normalized_R8P proc~rotation_matrix_r8p->proc~normalized_r8p

Contents

None