If I have understood your problem correctly, then the distance between two points is Y-distance / cos(\theta)
Closest point based on angle and distance
-
01-07-2022 - |
Question
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.
La solution
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow