Identify the point where three lines are meeting, thus making a Y section.

3 次查看(过去 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.
  5 个评论
Nupur
Nupur 2023-7-1
Also if we use triangulation , then how to differentiate between upsidedown Y and normal Y?

请先登录,再进行评论。

回答(1 个)

Matt J
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
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.
Nupur
Nupur 2023-7-3
yes,
I thought it should identify any such three way sections thoughout the structure.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Delaunay Triangulation 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by