필터 지우기
필터 지우기

Find the intersection of two surfaces.

조회 수: 16 (최근 30일)
Tianshu Yu
Tianshu Yu 2019년 7월 4일
편집: Tianshu Yu 2019년 7월 5일
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