Rotate a point around x and y by the given angle and distance.
point
x
y
angle
distance
In polar notation, this maps a point from (r, t) to (distance, t + angle), vs. the origin (x, y).
The point to be rotated.
The horizontal coordinate to rotate around.
The vertical coordinate to rotate around.
The angle of rotation in radians.
The distance from (x, y) to place the point at.
Rotate a
pointaroundxandyby the givenangleanddistance.In polar notation, this maps a point from (r, t) to (distance, t + angle), vs. the origin (x, y).