find-the-distance-from-a-3d-point-to-a-line-segment https://stackoverflow.com/questions/4858264/find-the-distance-from-a-3d-point-to-a-line-segment