Fast and Efficient 3D Chamfer Distance Transform for Polygonal Meshes