Reputation: 2317
Given the coordination of the vertices as shown in fig 1, how can we compute the underlying polygon as shown in fig 2? Suppose all the edges are either vertical or horizontal.
Fig 1:
========================================================================
Fig2:
Upvotes: 0
Views: 107
Reputation: 189626
Won't work if there are multiple vertices in a line (not just 2), but I'm not sure that's feasible without more information than you gave us.
Upvotes: 2