Finding Neighboring Points In a Delaunay Triangulation

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

TR variable has conectivity list (edges or triangles). Can't you use it?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Gefragt:

am 12 Feb. 2021

Bearbeitet:

am 14 Feb. 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by