Polygon Triangulation with Holes

前端 未结 9 911
终归单人心
终归单人心 2020-11-30 19:12

I am looking for an algorithm or library (better) to break down a polygon into triangles. I will be using these triangles in a Direct3D application. What are the best availa

9条回答
  •  旧巷少年郎
    2020-11-30 19:28

    I have implemented a 3D polygon triangulator in C# using the ear clipping method. It is easy to use, supports holes, is numerically robust, and supports aribtrary (not self-intersecting) convex/non-convex polygons.

提交回复
热议问题