named list with two entries as follows. 'paths': list of integer vectors, representing the paths. 'geodist': double vector, the geodesic distances from the source vertex to all vertices in the graph.
Arguments
x
triangular mesh of class mesh3d from the rgl package.
source
scalar positive integer, the source vertex index.
targets
positive integer vector, the target vertex indices.
maxdist
numeric, the maximal distance to travel along the mesh edges during geodesic distance computation.