|
|
| Zobacz też: |
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. Examples of line segments include the sides of a triangle or square. More generally, when the end points are both vertices of a polygon, the line segment is either an edge (of that polygon) if they are adjacent vertices, or otherwise 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).
Contents |
If
is a vector space over
or
, and
is a subset of
then
is a line segment if
can be parametrized as
![L = \{ \mathbf{u}+t\mathbf{v} \mid t\in[0,1]\}](http://upload.wikimedia.org/math/1/1/2/11258fa7f33e01a97f78ba558cf5c862.png)
for some vectors
with
in which case the vectors
and
are called the end points of 
Sometimes one needs to distinguish between "open" and "closed" line segments. Then one defines a closed line segment as above, and an open line segment as a subset
that can be parametrized as

for some vectors
with 
An alternative, equivalent, definition is as follows: A (closed) line segment is a convex hull of two distinct points.
This article incorporates material from Line segment on PlanetMath, which is licensed under the GFDL.