class_docstr: Extension of QPointF which adds a few missing methods.
class_docstr_tok: ["Extension","of","QPointF","which","adds","a","few","missing","methods","."]
docstr: Returns the angle in degrees from the vector a to self.
  
  Parameters
  ----------
  a : Point, QPointF or QPoint
      The Point to return the angle with
  units : str, optional
      The units with which to compute the angle with, "degrees" or "radians",
      default "degrees"
  
  Returns
  -------
  float
      The angle between two vectors
docstr_tok: ["Returns","the","angle","in","degrees","from","the","vector","a","to","self",".","Parameters","--","--","--","--","--","a",":","Point",",","QPointF","or","QPoint","The","Point","to","return","the","angle","with","units",":","str",",","optional","The","units","with","which","to","compute","the","angle","with",",","``","degrees","''","or","``","radians","''",",","default","``","degrees","''","Returns","--","--","--","-","float","The","angle","between","two","vectors"]
code: def angle(self, a, units="degrees"):
      """
      Returns the angle in degrees from the vector a to self.
  
      Parameters
      ----------
      a : Point, QPointF or QPoint
          The Point to return the angle with
      units : str, optional
          The units with which to compute the angle with, "degrees" or "radians",
          default "degrees"
  
      Returns
      -------
      float
          The angle between two vectors
      """
      rads = atan2(self.y(), self.x()) - atan2(a.y(), a.x())
      if units == "radians":
          return rads
      return degrees(rads)
  
imports: from math import atan2, degrees, hypot
  from .Qt import QtCore
label_desc: Use image node_id 22 for calling the Point obj's underlying member method code with example usage: obj.angle(a, units) and returns: degrees, rads