Bowyer-Watson algorithm: how to fill “holes” left by removing triangles with super triangle vertices

前端 未结 2 1120
我寻月下人不归
我寻月下人不归 2020-12-16 23:05

I am implementing the Bowyer-Watson algorithm as presented at Wikipedia. In my implementation, everything works as I would expect up until the last part of the pseudocode:<

2条回答
  •  天涯浪人
    2020-12-16 23:18

    It seems you have a solution for your problem but it's also possible to check if the circumcenter of the triangle is outside the supertriangle. You can use a point-in-polygon test. Maybe it can guarantee that there are not missing triangles.

提交回复
热议问题