I have a tricky question and can't seem to find a good solution. Let's say I have 3 convex polygons (ABCD, ADEF, BHGC) that share 2 common edges, unknown J, and a known point I:
I want to find the closest polygon to known point I. At first I thought it was a simple "find the closest edge", but if you notice that there are three regions (R1, R2, R3) that can be extrapolated from the distances and boundaries of each polygon. In the above example, I belongs to poly (ADEF).
However, if the shape is changed slightly:
Although I, E, D, C, G hasn't changed (A has been moved such that AD is steeper) I now belongs to poly (ABCD).
Based on this behavior, how can I match I to its related poly?