Line segment

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 that is between its endpoints. A closed line segment includes both endpoints, while an open line segment excludes both endpoints; a half-open line segment includes exactly one of the endpoints. In geometry, a line segment is often denoted using a line above the symbols for the two endpoints (such as ).[1]

The geometric definition of a closed line segment: the intersection of all points at or to the right of A with all points at or to the left of B
historical image – create a line segment (1699)

Examples of line segments include the sides of a triangle or square. More generally, when both of the segment's end points are vertices of a polygon or polyhedron, the line segment is either an edge (of that polygon or polyhedron) if they are adjacent vertices, or a diagonal. When the end points both lie on a curve (such as a circle), a line segment is called a chord (of that curve).

Share this article:

This article uses material from the Wikipedia article Line segment, and is written by contributors. Text is available under a CC BY-SA 4.0 International License; additional terms may apply. Images, videos and audio are available under their respective licenses.