Decomposition to Convex Polygons

后端 未结 4 1898
陌清茗
陌清茗 2020-12-31 08:46

This question is a little involved. I wrote an algorithm for breaking up a simple polygon into convex subpolygons, but now I\'m having trouble proving that it\'s not

4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-31 09:21

    but vertex 5 should be given preference because 9 is within the range given by 4-5 and 6-5

    What would you do if 4-5 and 6-5 were even more convex so that 9 didn't lie within their range? Then by your rules the proper thing to do would be to connect 9 to 12 because 12 is the closest reflex vertex, which would be suboptimal.

提交回复
热议问题