libigl - A simple C++ geometry processing library CGAL::sdf_values(surface_mesh); CGAL::Heat_method_3::estimate_geodesic_distances(); Documentation, tutorial, and instructions at https://libigl.github.io.