Find the intersection of two surfaces.

12 次查看(过去 30 天)
Now I have two surfaces. Both of them are extracted from 2 solid 3D objects which are generated by trangular mesh. (Note it's a triangular mesh not the rectangular one.) Now I want to find the intersection between the two object? If that cannot be down, then a simpler question: can I know if they intersect? (Not see from a graph, but use an algorithm to automatic determine if the two surface intersect). The data of the two shape is stored in samp_2.mat and tip_2.mat. In the two file, the data is stored in a respective matrix, where each row corresponds to the coordinate of a node on the object.
  2 个评论
darova
darova 2019-7-4
Can you attach your data? Did you try contour()?
Tianshu Yu
Tianshu Yu 2019-7-5
contour() is a plotting tool, I want an algorithm that can automatic determine if the two shape is intersecting with each other or not. For the data, I have attatched it.

请先登录,再进行评论。

回答(1 个)

Bruno Luong
Bruno Luong 2019-7-4
The mesh intersection is reduced to basic triangle-triangle intersection. There are few good pointers here:
The problem is not difficult to solve, just it requires a lot of basic linear algebra implementation.
Doing it fast is more challenging.

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by