Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
P. Bourke 在这里提出了一个有趣的算法:http: //paulbourke.net/papers/triangulate/但我不明白他为什么在“将超三角形顶点添加到顶点列表”,因为它们是通过创建超三角形自然处理的。
这是实现的一个细节(算法的其余部分不会下降到那个级别)。
在他的数据表示中,三角形是顶点的三元组,顶点由它们在顶点“列表”(实际上是一个数组)中的索引表示。因此,在计算出超三角形顶点的坐标后,他将顶点添加到顶点列表中,然后使用三个索引创建三角形。