Distance between two surfaces along surface normals

10 views (last 30 days)
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

Answers (1)

KSSV
KSSV on 7 Feb 2018
Read about knnsearch. With this you can get the points lying closer to the given set of points.

Community Treasure Hunt

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

Start Hunting!