Get point relative to another point with offset and angle (2D)

To find a point relative to a point {O} at a distance length at angle \alpha.

Image

P_x = O_x + cos(\alpha) * length
P_y = O_y + sin(\alpha) * length

Lastest update in January 2022, inital post in October 2011

Write a comment

I appreciate comments, suggestions, compliments etc. Unfortunately I have no time to reply to them. Useful input will be used for sure!