DelaunayTri neibor 찾기
x = rand(10,1); y = rand(10,1); dt = DelaunayTri(x,y) dt = DelaunayTri Properties: Constraints: [] X: [10x2 double] Triangulation: [12x3 double] Methods, Superclasses >> triplot(dt); % % Display the Vertex and Triangle labels on the plot hold on vxlabels = arrayfun(@(n) {sprintf('P%d', n)}, (1:10)'); Hpl = text(x, y, vxlabels, 'FontWeight', 'bold', 'HorizontalAlignment',... 'center', 'Background..
더보기