Source: wikibot/line-segment
= Line segment
{wiki=Line_segment}
A line segment is a part of a line that is bounded by two distinct endpoints. Unlike a line, which extends infinitely in both directions, a line segment has a definite length and consists of all the points that lie between its two endpoints. It can be represented mathematically by the notation \\( \\overline\{AB\} \\), where \\( A \\) and \\( B \\) are the endpoints of the segment.