Fixes #7757
Small change in the doctests
Merge pull request #7760 from akshayah3/Line

Small change to the intersection method of a Line3D