point.theta(p)

Return the angle (in degrees) between the point, another point p and the x-axis.