In 2D plane, I have a point and a line. How to get the mirror point along this line?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Suppose the equation of the line is
ax + by + c = 0. Now imagine a line perpendicular to it, which can be represented by-bx + ay + d = 0(product of slopes of two perpendicular lines is -1). Now the problem is to findd. Put the co-ordinate of the point on the second line, and you’ll get the value ofdeasily.The second part is, to find a point on the second line which is equidistant as the first point from the first line. For that, you can find the intersection of the two lines. Calculate the differences in
xandyof the given point and the intersection point. Now add those to thexandyvalue of the intersecting point. That gives the point you need (you may need to negate the differences – that’s up to the order of subtraction you use).