Finding Neighboring Points In a Delaunay Triangulation
Ältere Kommentare anzeigen
I am looking to find the coordinates of the natural neighbors of a given node in a delaunay triangulation or voronoi diagram. So far I have come across this where N will read off the neighbors of a triangle. But I did not understand what this meant, I thought points in an unstructured grid have neighbors rather a triangle.
x = rand([10,1]);
y = rand([10,1]);
TR = delaunayTriangulation(x,y);
N = neighbors(TR,1);
2 Kommentare
darova
am 13 Feb. 2021
TR variable has conectivity list (edges or triangles). Can't you use it?
shan siddiqui
am 13 Feb. 2021
Antworten (0)
Kategorien
Mehr zu Triangulations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!