HOME

TheInfoList



OR:

In geometry, a polygonal chain is a connected series of
line segment In geometry, a line segment is a part of a straight line that is bounded by two distinct end points, and contains every point on the line that is between its endpoints. The length of a line segment is given by the Euclidean distance between ...
s. More formally, a polygonal chain is a
curve In mathematics, a curve (also called a curved line in older texts) is an object similar to a line (geometry), line, but that does not have to be Linearity, straight. Intuitively, a curve may be thought of as the trace left by a moving point (ge ...
specified by a sequence of points (A_1, A_2, \dots, A_n) called its vertices. The curve itself consists of the line segments connecting the consecutive vertices.


Name

A polygonal chain may also be called a polygonal curve, polygonal path, polyline,. piecewise linear curve, broken line or, in
geographic information system A geographic information system (GIS) is a type of database containing Geographic data and information, geographic data (that is, descriptions of phenomena for which location is relevant), combined with Geographic information system software, sof ...
s, a linestring or linear ring.


Variations

A simple polygonal chain is one in which only consecutive (or the first and the last) segments intersect and only at their endpoints. A closed polygonal chain is one in which the first vertex coincides with the last one, or, alternatively, the first and the last vertices are also connected by a line segment. A simple closed polygonal chain in
the plane In mathematics, a plane is a Euclidean (flat), two-dimensional surface that extends indefinitely. A plane is the two-dimensional analogue of a point (zero dimensions), a line (one dimension) and three-dimensional space. Planes can arise as ...
is the boundary of a simple polygon. Often the term " polygon" is used in the meaning of "closed polygonal chain", but in some cases it is important to draw a distinction between a
polygonal area In geometry, a polygon () is a plane figure that is described by a finite number of straight line segments connected to form a closed ''polygonal chain'' (or ''polygonal circuit''). The bounded plane region, the bounding circuit, or the two tog ...
and a polygonal chain. A polygonal chain is called monotone if there is a straight line ''L'' such that every line perpendicular to ''L'' intersects the chain at most once. Every nontrivial monotone polygonal chain is open. In comparison, a
monotone polygon In geometry, a polygon ''P'' in the plane is called monotone with respect to a straight line ''L'', if every line orthogonal to ''L'' intersects the boundary of ''P'' at most twice. Similarly, a polygonal chain ''C'' is called monotone with respec ...
is a polygon (a closed chain) that can be partitioned into exactly two monotone chains. The graphs of piecewise linear functions form monotone chains with respect to a horizontal line.


Properties

Every set of at least n points contains a polygonal path of at least \lfloor\sqrt\rfloor edges in which all slopes have the same sign. This is a corollary of the
Erdős–Szekeres theorem In mathematics, the Erdős–Szekeres theorem asserts that, given ''r'', ''s,'' any sequence of distinct real numbers with length at least (''r'' − 1)(''s'' − 1) + 1 contains a monotonically increasing sub ...
.


Applications

Polygonal chains can often be used to approximate more complex curves. In this context, the Ramer–Douglas–Peucker algorithm can be used to find a polygonal chain with few segments that serves as an accurate approximation. In graph drawing, polygonal chains are often used to represent the edges of graphs, in drawing styles where drawing the edges as straight line segments would cause crossings, edge-vertex collisions, or other undesired features. In this context, it is often desired to draw edges with as few segments and bends as possible, to reduce the visual clutter in the drawing; the problem of minimizing the number of bends is called bend minimization. Polygonal chains are also a fundamental data type in
computational geometry Computational geometry is a branch of computer science devoted to the study of algorithms which can be stated in terms of geometry. Some purely geometrical problems arise out of the study of computational geometric algorithms, and such problems ar ...
. For instance, a point location algorithm of
Lee Lee may refer to: Name Given name * Lee (given name), a given name in English Surname * Chinese surnames romanized as Li or Lee: ** Li (surname 李) or Lee (Hanzi ), a common Chinese surname ** Li (surname 利) or Lee (Hanzi ), a Chinese ...
and Preparata operates by decomposing arbitrary planar subdivisions into an ordered sequence of monotone chains, in which a point location query problem may be solved by binary search; this method was later refined to give optimal time bounds for the point location problem.. With
geographic information system A geographic information system (GIS) is a type of database containing Geographic data and information, geographic data (that is, descriptions of phenomena for which location is relevant), combined with Geographic information system software, sof ...
, linestrings may represent any linear geometry, and can be described using the
well-known text Well-known text (WKT) is a text markup language for representing vector geometry objects. A binary equivalent, known as well-known binary (WKB), is used to transfer and store the same information in a more compact form convenient for computer proc ...
markup as a LineString or MultiLineString. Linear rings (or LinearRing) are closed and simple polygonal chains used to build polygon geometries.


See also

* Chain (algebraic topology), a formal combination of simplices that in the 1-dimensional case includes polygonal chains *
Composite Bézier curve In geometric modelling and in computer graphics, a composite Bézier curve or Bézier spline is a spline made out of Bézier curves that is at least C^0 continuous. In other words, a composite Bézier curve is a series of Bézier curves joined ...
, a generalization that replaces each straight line of a polygonal chain with a smooth curve. *
Link distance In computational geometry, the link distance between two points in a polygon is the minimum number of line segments of any polygonal chain within the polygon that has the two points as its endpoints. The link diameter of the polygon is the maximum l ...
, the number of segments of the shortest chain that links two points within a polygon * Piecewise regression * Path (graph theory), an analogous concept in abstract graphs *
Polyhedral terrain In computational geometry, a polyhedral terrain in three-dimensional Euclidean space is a polyhedral surface that intersects every line parallel to some particular line in a connected set (i.e., a point or a line segment) or the empty set. Withou ...
, a 3D generalization of a monotone polygonal chain * Spirangle, a spiral polygonal chain *
Stick number In the mathematical theory of knots, the stick number is a knot invariant that intuitively gives the smallest number of straight "sticks" stuck end to end needed to form a knot. Specifically, given any knot K, the stick number of K, denoted by \o ...
, a knot invariant based on representing a knot as a closed polygonal chain * Traverse, application in
surveying Surveying or land surveying is the technique, profession, art, and science of determining the terrestrial two-dimensional or three-dimensional positions of points and the distances and angles between them. A land surveying professional is ca ...


References

{{reflist Polygons Curves