get_hsv Subroutine

private pure elemental subroutine get_hsv(this, h, s, v)

Type Bound

color

Arguments

Type IntentOptional Attributes Name
class(color), intent(in) :: this
real(kind=rk), intent(out) :: h
real(kind=rk), intent(out) :: s
real(kind=rk), intent(out) :: v

Called by

proc~~get_hsv~~CalledByGraph proc~get_hsv color%get_hsv proc~get color%get proc~get->proc~get_hsv program~demo_color demo_color program~demo_color->proc~get program~example26 example26 program~example26->proc~get

Source Code

   elemental pure subroutine get_hsv(this, h, s, v)
      class(color), intent(in)  :: this
      real(rk),    intent(out) :: h, s, v

      h = this%h
      s = this%s
      v = this%v
   end subroutine get_hsv