这是here帖子的后续文章。 我正在尝试将Scipy的Delaunay三角剖分返回的简单转换为Networkx图。代码: from scipy.spatial import Delaunay as scipy_Delaunay
# tri = scipy_Delaunay(pts[:, 0:2]) #input pointsnode_color=
我目前正在使用scipy.spatial.Delaunay中的Delaunay函数,如下所示(简化):from scipy.spatial import Delaunaypoints1 = np.random.rand(10,2)# tri2 = tri- need help here
我希望将相同的三角</e
其目标是能够对WebGL应用程序中的平面多边形(带孔)进行三角剖分。在阅读Chapter9 of 时,他们使用了一种方法,将超三角形内的所有点都吞没,然后逐个从列表中提取一个点,并将其添加到三角剖分中,同时“合法化”边。Question2:我理解" Delaunay“只是对三角剖分中的每个三角形应用圆