The phrase "to know the distance" means having knowledge or understanding of how far things are from each other.