Converts this LineSegment to a Line.
The pos member of the returned Line will be equal to a, and the dir member equal to Dir().
class Line, ToRay().