math - How to calculate a point on a rotated axis? -


How can I calculate a point (X, Y) of the specified distance on a rotated axis? I know which angle I liked "moving" in "degree" (in "degree")

  x = cos (a) * dy = sin (a) * d  

Where there is an angle and d is the distance.

If trigonometric works, degree of radian int, you have to convert the angle by dividing it by 180 / pi.


Comments

Popular posts from this blog

c# - PInvoke of NetUserAdd returns 24 -

NHibernate Passing Session to the Repository -

objective c - Mouse events for an NSSegmentedCell subclass? -