Closed Polygonal Chain
   HOME

TheInfoList



OR:

In
geometry Geometry (; ) is a branch of mathematics concerned with properties of space such as the distance, shape, size, and relative position of figures. Geometry is, along with arithmetic, one of the oldest branches of mathematics. A mathematician w ...
, a polygonal chain is a connected series of
line segment In geometry, a line segment is a part of a line (mathematics), straight line that is bounded by two distinct endpoints (its extreme points), and contains every Point (geometry), point on the line that is between its endpoints. It is a special c ...
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, but that does not have to be straight. Intuitively, a curve may be thought of as the trace left by a moving point. This is the definition that ...
specified by a
sequence In mathematics, a sequence is an enumerated collection of objects in which repetitions are allowed and order matters. Like a set, it contains members (also called ''elements'', or ''terms''). The number of elements (possibly infinite) is cal ...
of points (A_1, A_2, \dots, A_n) called its vertices. The curve itself consists of the line segments connecting the consecutive vertices.


Variations


Simple

A simple polygonal chain is one in which only consecutive segments intersect and only at their endpoints.


Closed

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 is the boundary of a
simple polygon In geometry, a simple polygon is a polygon that does not Intersection (Euclidean geometry), intersect itself and has no holes. That is, it is a Piecewise linear curve, piecewise-linear Jordan curve consisting of finitely many line segments. The ...
. Often the term "
polygon In geometry, a polygon () is a plane figure made up of line segments connected to form a closed polygonal chain. The segments of a closed polygonal chain are called its '' edges'' or ''sides''. The points where two edges meet are the 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 made up of line segments connected to form a closed polygonal chain. The segments of a closed polygonal chain are called its '' edges'' or ''sides''. The points where two edges meet are the polygon ...
and a polygonal chain. A
space Space is a three-dimensional continuum containing positions and directions. In classical physics, physical space is often conceived in three linear dimensions. Modern physicists usually consider it, with time, to be part of a boundless ...
closed polygonal chain is also known as a skew "polygon".


Monotone

A polygonal chain is called ''monotone'' if there is a
straight line In geometry, a straight line, usually abbreviated line, is an infinitely long object with no width, depth, or curvature, an idealization of such physical objects as a straightedge, a taut string, or a ray of light. Lines are spaces of dimens ...
''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 in the plane is called monotone with respect to a straight line , if every line orthogonal to intersects the boundary of at most twice. Similarly, a polygonal chain is called monotone with respect to a straight line ...
is a polygon (a closed chain) that can be partitioned into exactly two monotone chains. The graphs of
piecewise linear function In mathematics, a piecewise linear or segmented function is a real-valued function of a real variable, whose graph is composed of straight-line segments. Definition A piecewise linear function is a function defined on a (possibly unbounded) ...
s form monotone chains with respect to a horizontal line.


Parametrization

Each segment of a polygonal chain is typically parametrized linearly, using
linear interpolation In mathematics, linear interpolation is a method of curve fitting using linear polynomials to construct new data points within the range of a discrete set of known data points. Linear interpolation between two known points If the two known po ...
between successive vertices. For the whole chain, two parametrizations are common in practical applications: Each segment of the chain can be assigned a unit interval of the parameter corresponding to the index of the first vertex; alternately, each segment of the chain can be assigned an interval of the parameter corresponding to the length of the segment, so that the parameter corresponds uniformly to arclength along the whole chain.


From point sets

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.


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 Graph drawing is an area of mathematics and computer science combining methods from geometric graph theory and information visualization to derive two-dimensional depictions of graph (discrete mathematics), graphs arising from applications such ...
, 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. In
computer-aided geometric design Computer-aided design (CAD) is the use of computers (or ) to aid in the creation, modification, analysis, or optimization of a design. This software is used to increase the productivity of the designer, improve the quality of design, improve c ...
, smooth curves are often defined by a list of control points, e.g. in defining
Bézier curve A Bézier curve ( , ) is a parametric equation, parametric curve used in computer graphics and related fields. A set of discrete "control points" defines a smooth, continuous curve by means of a formula. Usually the curve is intended to approxima ...
segments. When connected together, the control points form a polygonal chain called a ''control polygon''. Polygonal chains are also a fundamental data type in computational geometry. For instance, a point location algorithm of
Lee Lee may refer to: Arts and entertainment * ''Lee'' (2007 film), Tamil-language sports action film * ''Lee'' (2017 film), Kannada-language action film * ''Lee'' (2023 film), biographical drama about Lee Miller, American photojournalist * ''L ...
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 In computer science, binary search, also known as half-interval search, logarithmic search, or binary chop, is a search algorithm that finds the position of a target value within a sorted array. Binary search compares the target value to the m ...
; this method was later refined to give optimal time bounds for the point location problem.. With
geographic information system A geographic information system (GIS) consists of integrated computer hardware and Geographic information system software, software that store, manage, Spatial analysis, analyze, edit, output, and Cartographic design, visualize Geographic data ...
, linestrings may represent any linear geometry, and can be described using the well-known text 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) In algebraic topology, a -chain is a formal linear combination of the -cells in a cell complex. In simplicial complexes (respectively, cubical complexes), -chains are combinations of -simplices (respectively, -cubes), but not necessarily connecte ...
, 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 (mathematics), spline made out of Bézier curves that is at least C^0 continuous function, continuous. In other words, a composite Bézier cu ...
, 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 ...
, the number of segments of the shortest chain that links two points within a polygon * Piecewise regression *
Path (graph theory) In graph theory, a path in a graph is a finite or infinite sequence of edges which joins a sequence of vertices which, by most definitions, are all distinct (and since the vertices are distinct, so are the edges). A directed path (sometimes c ...
, an analogous concept in abstract graphs * Polyhedral terrain, a 3D generalization of a monotone polygonal chain *
Spirangle In geometry, a spirangle is a spiral polygonal chain. Spirangles are similar to spirals in that they expand from a center point as they grow larger, but they are made out of straight line segments, instead of curves. Spirangle vectographs ...
, a spiral polygonal chain * Stick number, 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 land, terrestrial Plane (mathematics), two-dimensional or Three-dimensional space#In Euclidean geometry, three-dimensional positions of Point (geom ...


Notes


References

{{Authority control Polygons Curves