Identify the point where three lines are meeting, thus making a Y section.
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
This is the structure , in this the pink lined part is the Y section.
We need to find the points where this Y section is formed. Also we may adress this as finding or identifying the point where three sides are intersecting.
5 Commenti
Risposte (1)
Matt J
il 27 Giu 2023
Modificato: Matt J
il 27 Giu 2023
Use delaunay to form the delaunay triangulation and then freeBoundary to find which vertices are on the boundary. The vertices that are not on the boundary will be the 3-way intersections.
T=delaunay(allVertices);
[~,boundaryVertices]=freeBoundary(T);
intersections=setdiff(allVertices,boundaryVertices,'rows') %all points minus boundary points
8 Commenti
Matt J
il 1 Lug 2023
I don't know how you mean for us to interpret your figure. It doesn't look like the figure in your original post, and you now have both red and blue connections.
Vedere anche
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!