Finding the X and Y position on a Circle

Started by
0 comments, last by alvaro 14 years, 11 months ago
i am having a little trouble finding the X and Y positon on a Circle, the centre of the circle is 256 x and 256 y the radius of the circle is 150 i have 3 points i need to work out the 1st is p0 = 256x 256y the 2nd is p1 = 256x 406y the 3rd is p2 = ?x ?y the angle between p1 and p2 = 45 degrees does anyone know howi can work out the x and y of p2?
Advertisement
x = x_center + cos(alpha)*radius = 362.06601717798212866
y = y_center + sin(alpha)*radius = 362.06601717798212866

Remember that you should express alpha in radians.

This topic is closed to new replies.

Advertisement