Distance between two surfaces along surface normals

I have two surfaces which I need to see the distance between them along the surface normals of one surface which is a sphere. I used one code available online by finding the intersection between normal and triangulated surfaces of the other surface.And then get the distance between two points. I ended up without any intersection point. My surfaces have many points and it took long time like 4hours. I would appreciate if someone could tell me about an efficient way. Thanks in advance. Thamali

回答 (1 件)

KSSV
KSSV 2018 年 2 月 7 日

0 投票

Read about knnsearch. With this you can get the points lying closer to the given set of points.

カテゴリ

質問済み:

2018 年 2 月 7 日

回答済み:

2018 年 2 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by