How can you find geodesic distance between 2 vertices on a mesh in Maya python?


#1

If I have a mesh and I would like to know the geodesic distance between 2 given vertices, or even all vertices, how would I go about implementing a solution in Python? I have seen a few techniques of calculating this, but I can’t wrap my head about how I can do it using maya’s api.