'Meshsweeper': Dynamic Point-to-Polygonal-Mesh Distance and Applications