How to calculate coordinates $(x,y)$ of rotated polygon?

78 Views Asked by At

I have coordinates $x,y$ of a point (red point on the image).

enter image description here

If I rotate the image with a specific angle (for example 30 degrees) enter image description here

how can I get the coordinates $x,y$ in the new polygon (which is filled with black)?

Thank you