powered by
Compute pseudo-geodesic distance between two points on a mesh
vcgGeodist(x, pt1, pt2)
returns the geodesic distance between pt1 and pt2.
pt1
pt2
triangular mesh of class mesh3d
mesh3d
3D coordinate on mesh or index of vertex
data(humface) pt1 <- humface.lm[1,] pt2 <- humface.lm[5,] vcgGeodist(humface,pt1,pt2)
Run the code above in your browser using DataLab