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++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -