On Chamfer Distances on the Square and Body-Centered Cubic Grids: An Operational Research Approach. (22nd April 2021)