In geometry, a line segment<span> is a part of a </span>line<span> that is bounded by two distinct end points, and contains every point on the </span>line<span> between its endpoints. A closed </span>line segment<span> includes both endpoints, while an open </span>line segment<span> excludes both endpoints; a half-open </span>line segment<span> includes exactly one of the endpoints.</span>