Approximate geodesic distance for triangulated meshes