Consider two points, and . We consider the inversion or point reflection, , of point across point to be a rotation of point around . Given sets of points and , find for each pair of points and print two space-separated integers denoting the respective values of and on a new line.
Answers
Answered by
0
ask to google..............
Answered by
0
Answer:
rx=(2*qx)-px;
ry=(2*qy)-qy;
Explanation: so basically point p ,q and r are collinear which means they all are lie in the same line so that according to the question point q is the middle point of p and r.
hope this answer will help you!
Similar questions