If I have a right rectangular prism with corners labeled as below.
and I have a random point q in 3D space how do I find the closest point on the cube to q
If I have a right rectangular prism with corners labeled as below.
and I have a random point q in 3D space how do I find the closest point on the cube to q