set_default_view_distance Subroutine

private subroutine set_default_view_distance(self, distance)

The radius to frame when the view is reset (<= 0: the viewed frame's bound, the default), as OpenFrames' default view distance.

Type Bound

View

Arguments

Type IntentOptional Attributes Name
class(View), intent(inout) :: self
real(kind=wp), intent(in) :: distance

radius (<= 0: the frame's bound)


Source Code

    subroutine set_default_view_distance(self, distance)
        class(View), intent(inout) :: self
        real(wp), intent(in) :: distance    !! radius (<= 0: the frame's bound)
        self%default_distance = distance
    end subroutine set_default_view_distance