point-line distance 3-dimensional