(self, pt1, pt2)
return math.degrees(math.atan2(y_diff, x_diff))
pt1, pt2 : tuple
pt1, pt2 : tuple
pt1 pt2 : tuple
def _getAngle(self, pt1, pt2):
        """
        pt1, pt2 : tuple
        """
        x_diff = pt2[0] - pt1[0]
        y_diff = pt2[1] - pt1[1]
        return math.degrees(math.atan2(y_diff, x_diff))
def _getAngle ( self , pt1 , pt2 ) : x_diff = pt2 [ 0 ] - pt1 [ 0 ] y_diff = pt2 [ 1 ] - pt1 [ 1 ] return math . degrees ( math . atan2 ( y_diff , x_diff ) )