Identify the point where three lines are meeting, thus making a Y section.
조회 수: 1 (최근 30일)
이전 댓글 표시
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.
답변 (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!