Identify the point where three lines are meeting, thus making a Y section.
2 ビュー (過去 30 日間)
古いコメントを表示
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1420513/image.jpeg)
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.
回答 (1 件)
Matt J
2023 年 6 月 27 日
編集済み: Matt J
2023 年 6 月 27 日
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 件のコメント
Matt J
2023 年 7 月 1 日
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.
参考
カテゴリ
Help Center および File Exchange で Delaunay Triangulation についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!