I have two points in my coordinate system `(x,y)` that I want to know the angle of their line and x-axis.

I use swift for solving this but I can't get the angle.

I need this angle in radians to use it in the following equation:

```
(x0 + r cos theta, y0 + r sin theta)

```

r : radius of circle