www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/Circumcentersin3DDelaunayTriangulationExample.m
%% Circumcenters in 3-D Delaunay Triangulation % Copyright 2015 The MathWorks, Inc. %% % Create the Delaunay triangulation using a random set of points, |P|. P = gallery('uniformdata',10,3,0); DT = delaunayTriangulation(P); %% % Calculate the circumcenters of the first five tetrahedra in |DT|. CC = circumcenter(DT,[1:5]')