MATLAB: Angle betwen an edge and a geodesic line, which are both members of the same mesh

geodesicmesh

Hi there,
The coordinates of all three vertices are of course known. I have Boost libraray installed but I'm unaware of such function. Any suggestions?

Best Answer

Mea culpa! The mesh is 2-manifold and not 2D-space. So even if a third vertex is far away (let us say P3) from P1, and P1 and P2 are relative close to each other (somewhere betwen 1x and 2x of average edge length) I can take the first equation to calculate P2_P1_P3 angle?
THX!
Related Question