我想使用scipy.spatial.Delaunay对这些点云进行三角测量,然后绘制它Delaunay的文档非常稀缺。for p in points if p]
plt.plot(x,y,'bo')
convex = dl.convex_hull
from numpy.core.numeric import
我从文档中的以下示例复制语法和包含文件
CGAL::refine_Delaunay_mesh_2(cdt, Criteria(0.015625, sq3*a));问题是,代码在不调用网格函数的情况下编译良好。/home/sameer/cgal/gap cvt/gap_cvt.cpp:1505:62: required from here
/usr
有没有什么方法可以像Matlab Delaunay那样在2D中得到更有序的三角剖分?下面是Matlab的2D Delaunay三角剖分的一个示例。gridPoints = np.array([[x,y] for y in yPoints for x in xPoints])
tri = Delaunay