优质解答
x = x0 + R*cosA
y = y0 + R*sinA
或者:
(x - x0)^2 + (y - y0)^2 = R^2
----------------------------------
补充:老眼昏花,又看错了,
你说的是坐标变换,假定旋转角是A,旋转参考点坐标是(x0,y0),则有:
x' = (x - x0)*cosA - (y - y0)*sinA
y' = (y - y0)*cosA + (x - x0)*sinA
x = x0 + R*cosA
y = y0 + R*sinA
或者:
(x - x0)^2 + (y - y0)^2 = R^2
----------------------------------
补充:老眼昏花,又看错了,
你说的是坐标变换,假定旋转角是A,旋转参考点坐标是(x0,y0),则有:
x' = (x - x0)*cosA - (y - y0)*sinA
y' = (y - y0)*cosA + (x - x0)*sinA