How can I find the intersection face between a line and a 3D mesh of trianlges?
29 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Emile Talon
el 6 de Nov. de 2020
Comentada: Emile Talon
el 17 de Nov. de 2020
Hello everyone,
I have a triangulated patch of a 3D object. I have the matrixes with all the vertixes and faces of my mesh.
Setting a line in the 3D space I would like to obtain the index of which face does my line intersect.
To be more specific:
Using the function Triangle/Ray Intersection (https://ch.mathworks.com/matlabcentral/fileexchange/33073-triangle-ray-intersection) I defined a ray normal to one of my traingles on the mesh. This ray is then intersecting my 3D object in a second triangle. I need to know which triangle is it in my matrix of faces 'f', in order to then compute the thickness of my object as distance of the two faces.
Thank you for any help,
I hope it is clear.
0 comentarios
Respuesta aceptada
Abhisek Pradhan
el 17 de Nov. de 2020
Here is a link for a similar answered question. Hope it will help.
Más respuestas (0)
Ver también
Categorías
Más información sobre Surface and Mesh Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!