bound Subroutine

private subroutine bound(self, center, radius)

The bounding sphere of what the frame draws, in its own coordinates (radius 0 if it draws nothing; extensions override it). Views use it for their default distance.

Type Bound

ReferenceFrame

Arguments

Type IntentOptional Attributes Name
class(ReferenceFrame), intent(in) :: self
real(kind=wp), intent(out) :: center(3)

frame's coordinates

real(kind=wp), intent(out) :: radius

frame's coordinates


Called by

proc~~bound~~CalledByGraph proc~bound ReferenceFrame%bound proc~home View%home proc~home->proc~bound proc~reposition_axes ReferenceFrame%reposition_axes proc~reposition_axes->proc~bound proc~build_decorations build_decorations proc~build_decorations->proc~reposition_axes proc~place_camera place_camera proc~place_camera->proc~home proc~frame WindowProxy%frame proc~frame->proc~place_camera proc~realize ReferenceFrame%realize proc~frame->proc~realize proc~realize->proc~build_decorations proc~realize->proc~realize proc~add_child ReferenceFrame%add_child proc~add_child->proc~realize proc~resize WindowProxy%resize proc~resize->proc~frame proc~run WindowProxy%run proc~run->proc~frame

Source Code

    subroutine bound(self, center, radius)
        class(ReferenceFrame), intent(in) :: self
        real(wp), intent(out) :: center(3), radius          !! frame's coordinates
        center = 0.0_wp
        radius = 0.0_wp
    end subroutine bound