Circum center of a triangle in Delaunay triangulation

1 visualizzazione (ultimi 30 giorni)
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!

Risposta accettata

aasha verghese
aasha verghese il 30 Giu 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);

Più risposte (0)

Categorie

Scopri di più su Delaunay Triangulation in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by