I have a set of points P1,P2 and P3. I am trying to find the closest point to P1 by using the angle and distance informations. As you can See the closest point to P1 is P2 base on the Y coordinates but the angle deviation is greater than the angle with P3. The point that i should chose as solution should be P3. Is there a formula or a similar problem that was solved?
Thank you.