Circum center of a triangle in Delaunay triangulation

1 Ansicht (letzte 30 Tage)
Hi,
trid= edgeAttachments(DT,e(2,1),e(2,2));
Here edge is 2nd edge in the triangulation.
For a specific edge how to identify the circum center of the triangle attached to it? If multiple triangles attached to this edge, circum center of the first one among those triangles is needed.
Thanks!

Akzeptierte Antwort

aasha verghese
aasha verghese am 30 Jun. 2022
Found answer as,
trid= edgeAttachments(DT,e(i,1),e(i,2));
t=trid{1}(1);
con=DT.ConnectivityList(t);
cirCentr =circumcenter(DT,con);
disp('circum center is...');
disp(cirCentr);

Weitere Antworten (0)

Kategorien

Mehr zu Delaunay Triangulation finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by