How are a line segment and Ray different
Line segments have 2 end points and Rays have one endpoint on one side and go off forever in the other direction.