I have the centerX and centerY value of the circle and radius. And now i have (x1, y1) point that lie on the circle. I want to know the angle of circle for the point.
I tried the below formula to get the angle of (x1, y1). But it is not giving generic solution.
radian = Math.Atan2(y1 - Cy, x1 - Cx);
angle = radian * (180 / Math.PI);
Please refer the screenshot for my requirement.
Anyone please let me suggest what i did wrong.?