parameters: (self, A, B)
return_statement: return np.arctan2(*AB)
docstring: Calculate the angle between vector AB and x-axis positive direction.
docstring_summary: Calculate the angle between vector AB and x-axis positive direction.
docstring_tokens: Calculate the angle between vector AB and x - axis positive direction .
function: def vector_angle(self, A, B):
          """
          Calculate the angle between vector AB and x-axis positive direction.
          """
          AB = np.array([B[1] - A[1], B[0] - A[0]])
          return np.arctan2(*AB)
function_tokens: def vector_angle ( self , A , B ) : AB = np . array ( [ B [ 1 ] - A [ 1 ] , B [ 0 ] - A [ 0 ] ] ) return np . arctan2 ( * AB )