Get xyz position of points along a line between 2 points along a 3D triangular mesh
Afficher commentaires plus anciens
I have a 3D triangular mesh. It is defined by vertex positions and triangles.
I would like to be able to select 2 vertices on that surface and connect them with a line along the surface.
What i require as an output is a series of positions (xyz) between the two selected points. Is there a easy way to extract that information from the triangular mesh?
Thank you.
1 commentaire
Roger Stafford
le 5 Juil 2014
If this is a 3D triangular mesh, there is nothing unique about a "line" along the triangular surface connecting two given vertices. How do you define your "line"? It is to be the geodesic (shortest path)? If so, you are asking a difficult question.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Surface and Mesh Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!