The word you are looking for is "segment."
❤ - alexa
It is a line segment which has endpoints
a line segment is part of a line that does not continue infinetely. therefore it has endpoints on both sides. by default a line segment has 2 endpoints, it is not a question if it 'can' have 2 endpoints.
It is a line segment
line segment
It is A Line Segment
A line segment
line segment
Line Segment
line segment yall
That's a 'line segment'.
A line segment
A ray