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), intent(inout) :: self

Vector.

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

Axis of rotation.

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

Angle of rotation.


Calls

proc~~rotate_by_axis_angle~3~~CallsGraph proc~rotate_by_axis_angle~3 rotate_by_axis_angle proc~rotation_matrix rotation_matrix proc~rotate_by_axis_angle~3->proc~rotation_matrix proc~normalized normalized proc~rotation_matrix->proc~normalized

Contents

None