そゆこと atan(y,x) = 円の中心から見た (x, y) の角度 あと atan(sin(θ), cos(θ)) = θ になります (-π<=θ<=π)