www.5129.net > 大佬可以提供下mAtlAB体心立方格的voronoi代码,如图

大佬可以提供下mAtlAB体心立方格的voronoi代码,如图

X = -3 + 6.*gallery('uniformdata',[25 3],0);dt = delaunayTriangulation(X);[V,R] = voronoiDiagram(dt);tid = nearestNeighbor(dt,0,0,0);XR10 = V(R{tid},:);K = convhull(XR10);defaultFaceColor = [0.6875 0.8750 0.8984];trisurf(K, XR1...

网站地图

All rights reserved Powered by www.5129.net

copyright ©right 2010-2021。
www.5129.net内容来自网络,如有侵犯请联系客服。zhit325@qq.com