specify all triangle that can be created with n point(without repeat triangle)
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I have for example 20 points. I want to specify all triangle that can be created with these point and one vertex is common between all. these triangle are no repeat. I don't want delaunay triangle. I Sort the points by increasing angle around the common vertex and form the triangles v, P[i], P[i+1]. Then v,P[i],P[i+2],..then v,P[i],P[i+3],....but I don't know where termination it if the number of point is change. if suppose v is common vertex: v,1,2 is same with v,2,1 .can any body help me to write matlab code?
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Modify Image Colors finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!