Yes.
Opposite rays have a common, same, end point.
Together, a pair of opposite rays form a straight line.
Hope this helps,
Davinia.