### Possible Answer

A line segment is a piece of a line that has two distinct endpoints. Because of these endpoints, unlike a line, a line segment doesn't extend infinitely. - read more

In geometry, a line segment is a part of a line that is bounded by two distinct end points, and contains every point on the line between its end points. A closed line ... - read more

Please vote if the answer you were given helped you or not, thats the best way to improve our algorithm. You can also submit an answer or search documents about the subset of a line which contains two endpoints.