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

Respuestas (1)

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

Preguntada:

el 7 de Feb. de 2018

Respondida:

el 7 de Feb. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by