parameters: (angle1, angle2)
docstring: Calculates the difference between the given angles in clockwise direction as radians.
  
      :param angle1: float
      :param angle2: float
      :return: float; between 0 and 2*Pi
docstring_summary: Calculates the difference between the given angles in clockwise direction as radians.
docstring_tokens: Calculates the difference between the given angles in clockwise direction as radians .
function: def angle_difference(angle1, angle2):
      """
      Calculates the difference between the given angles in clockwise direction as radians.
  
      :param angle1: float
      :param angle2: float
      :return: float; between 0 and 2*Pi
      """
      if (angle1 > 0 and angle2 >= 0) and angle1 > angle2:
          return abs(angle1 - angle2)
      elif (angle1 >= 0 and angle2 > 0) and angle1 < angle2:
          return 2 * math.pi + angle1 - angle2
      elif (angle1 < 0 and angle2 <= 0) and angle1 < angle2:
          return 2 * math.pi + angle1 + abs(angle2)
      elif (angle1 <= 0 and angle2 < 0) and angle1 > angle2:
          return abs(angle1 - angle2)
      elif angle1 <= 0 < angle2:
          return 2 * math.pi + angle1 - angle2
      elif angle1 >= 0 >= angle2:
          return angle1 + abs(angle2)
      else:
          return 0
function_tokens: def angle_difference ( angle1 , angle2 ) : if ( angle1 > 0 and angle2 >= 0 ) and angle1 > angle2 : return abs ( angle1 - angle2 ) elif ( angle1 >= 0 and angle2 > 0 ) and angle1 < angle2 : return 2 * math . pi + angle1 - angle2 elif ( angle1 < 0 and angle2 <= 0 ) and angle1 < angle2 : return 2 * math . pi + angle1 + abs ( angle2 ) elif ( angle1 <= 0 and angle2 < 0 ) and angle1 > angle2 : return abs ( angle1 - angle2 ) elif angle1 <= 0 < angle2 : return 2 * math . pi + angle1 - angle2 elif angle1 >= 0 >= angle2 : return angle1 + abs ( angle2 ) else : return 0