
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 simple polygon is a
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 ...
that does not
intersect itself and has no holes. That is, it is a
piecewise-linear Jordan curve consisting of finitely many
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. These polygons include as special cases the
convex polygon
In geometry, a convex polygon is a polygon that is the boundary of a convex set. This means that the line segment between two points of the polygon is contained in the union of the interior and the boundary of the polygon. In particular, it is ...
s,
star-shaped polygons, and
monotone polygons.
The sum of
external angles of a simple polygon is
. Every simple polygon with
sides can be
triangulated by
of its diagonals, and by the
art gallery theorem its interior is visible from some
of its vertices.
Simple polygons are commonly seen as the input to
computational geometry problems, including
point in polygon
In computational geometry, the point-in-polygon (PIP) problem asks whether a given point in the plane lies inside, outside, or on the boundary of a polygon. It is a special case of point location problems and finds applications in areas that deal ...
testing,
area
Area is the measure of a region's size on a surface. The area of a plane region or ''plane area'' refers to the area of a shape or planar lamina, while '' surface area'' refers to the area of an open surface or the boundary of a three-di ...
computation, the
convex hull of a simple polygon, triangulation, and
Euclidean shortest paths.
Other constructions in geometry related to simple polygons include
Schwarz–Christoffel mapping, used to find
conformal map
In mathematics, a conformal map is a function (mathematics), function that locally preserves angles, but not necessarily lengths.
More formally, let U and V be open subsets of \mathbb^n. A function f:U\to V is called conformal (or angle-prese ...
s involving simple polygons,
polygonalization of point sets,
constructive solid geometry formulas for polygons, and
visibility graphs of polygons.
Definitions

A simple polygon is a
closed 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 ...
in the
Euclidean plane
In mathematics, a Euclidean plane is a Euclidean space of Two-dimensional space, dimension two, denoted \textbf^2 or \mathbb^2. It is a geometric space in which two real numbers are required to determine the position (geometry), position of eac ...
consisting of
straight line segments, meeting end-to-end to form a
polygonal chain
In geometry, a polygonal chain is a connected series of line segments. More formally, a polygonal chain is a curve specified by a sequence of points (A_1, A_2, \dots, A_n) called its vertices. The curve itself consists of the line segments co ...
. Two line segments meet at every endpoint, and there are no other points of intersection between the line segments. No
proper subset
In mathematics, a set ''A'' is a subset of a set ''B'' if all elements of ''A'' are also elements of ''B''; ''B'' is then a superset of ''A''. It is possible for ''A'' and ''B'' to be equal; if they are unequal, then ''A'' is a proper subset ...
of the line segments has the same properties. The qualifier ''simple'' is sometimes omitted, with the word ''polygon'' assumed to mean a simple polygon.
The line segments that form a polygon are called its ''edges'' or ''sides''. An endpoint of a segment is called a ''
vertex'' (plural: vertices) or a ''corner''. ''Edges'' and ''vertices'' are more formal, but may be ambiguous in contexts that also involve the edges and vertices of a
graph; the more colloquial terms ''sides'' and ''corners'' can be used to avoid this ambiguity. The number of edges always equals the number of vertices. Some sources allow two line segments to form a
straight angle (180°), while others disallow this, instead requiring collinear segments of a closed polygonal chain to be merged into a single longer side. Two vertices are ''neighbors'' if they are the two endpoints of one of the sides of the polygon.
Simple polygons are sometimes called Jordan polygons, because they are
Jordan curves; the
Jordan curve theorem can be used to prove that such a polygon divides the plane into two regions. Indeed,
Camille Jordan
Marie Ennemond Camille Jordan (; 5 January 1838 – 22 January 1922) was a French mathematician, known both for his foundational work in group theory and for his influential ''Cours d'analyse''.
Biography
Jordan was born in Lyon and educated at ...
's original proof of this theorem took the special case of simple polygons (stated without proof) as its starting point. The region inside the polygon (its ''interior'') forms a
bounded set
In mathematical analysis and related areas of mathematics, a set is called bounded if all of its points are within a certain distance of each other. Conversely, a set which is not bounded is called unbounded. The word "bounded" makes no sense in ...
topologically equivalent to an
open disk by the
Jordan–Schönflies theorem, with a finite but nonzero
area
Area is the measure of a region's size on a surface. The area of a plane region or ''plane area'' refers to the area of a shape or planar lamina, while '' surface area'' refers to the area of an open surface or the boundary of a three-di ...
. The polygon itself is topologically equivalent to a
circle
A circle is a shape consisting of all point (geometry), points in a plane (mathematics), plane that are at a given distance from a given point, the Centre (geometry), centre. The distance between any point of the circle and the centre is cal ...
, and the region outside (the ''exterior'') is an unbounded
connected open set, with infinite area. Although the formal definition of a simple polygon is typically as a system of line segments, it is also possible (and common in informal usage) to define a simple polygon as a
closed set
In geometry, topology, and related branches of mathematics, a closed set is a Set (mathematics), set whose complement (set theory), complement is an open set. In a topological space, a closed set can be defined as a set which contains all its lim ...
in the plane, the union of these line segments with the interior of the polygon.
A ''diagonal'' of a simple polygon is any line segment that has two polygon vertices as its endpoints, and that otherwise is entirely interior to the polygon.
Properties
The ''
internal angle'' of a simple polygon, at one of its vertices, is the angle spanned by the interior of the polygon at that vertex. A vertex is ''convex'' if its internal angle is less than
(a straight angle, 180°) and ''concave'' if the internal angle is greater than
. If the internal angle is
, the ''
external angle'' at the same vertex is defined to be its
supplement , the turning angle from one directed side to the next. The external angle is positive at a convex vertex or negative at a concave vertex. For every simple polygon, the sum of the external angles is
(one full turn, 360°). Thus the sum of the internal angles, for a simple polygon with
sides is
.

Every simple polygon can be partitioned into non-overlapping triangles by a subset of its diagonals. When the polygon has
sides, this produces
triangles, separated by
diagonals. The resulting partition is called a ''
polygon triangulation
In computational geometry, polygon triangulation is the partition of a polygonal area (simple polygon) into a set of triangles, i.e., finding a set of triangles with pairwise non-intersecting interiors whose union is .
Triangulations may ...
''. The shape of a triangulated simple polygon can be uniquely determined by the internal angles of the polygon and by the
cross-ratios of the
quadrilateral
In Euclidean geometry, geometry a quadrilateral is a four-sided polygon, having four Edge (geometry), edges (sides) and four Vertex (geometry), corners (vertices). The word is derived from the Latin words ''quadri'', a variant of four, and ''l ...
s formed by pairs of triangles that share a diagonal.
According to the
two ears theorem, every simple polygon that is not a triangle has at least two ''ears'', vertices whose two neighbors are the endpoints of a diagonal. A related theorem states that every simple polygon that is not a
convex polygon
In geometry, a convex polygon is a polygon that is the boundary of a convex set. This means that the line segment between two points of the polygon is contained in the union of the interior and the boundary of the polygon. In particular, it is ...
has a ''mouth'', a vertex whose two neighbors are the endpoints of a line segment that is otherwise entirely exterior to the polygon. The polygons that have exactly two ears and one mouth are called ''
anthropomorphic polygons''.

According to the
art gallery theorem, in a simple polygon with
vertices, it is always possible to find a subset of at most
of the vertices with the property that every point in the polygon is visible from one of the selected vertices. This means that, for each point
in the polygon, there exists a line segment connecting
to a selected vertex, passing only through interior points of the polygon. One way to prove this is to use
graph coloring
In graph theory, graph coloring is a methodic assignment of labels traditionally called "colors" to elements of a Graph (discrete mathematics), graph. The assignment is subject to certain constraints, such as that no two adjacent elements have th ...
on a triangulation of the polygon: it is always possible to color the vertices with three colors, so that each side or diagonal in the triangulation has two endpoints of different colors. Each point of the polygon is visible to a vertex of each color, for instance one of the three vertices of the triangle containing that point in the chosen triangulation. One of the colors is used by at most
of the vertices, proving the theorem.
Special cases
Every
convex polygon
In geometry, a convex polygon is a polygon that is the boundary of a convex set. This means that the line segment between two points of the polygon is contained in the union of the interior and the boundary of the polygon. In particular, it is ...
is a simple polygon. Another important class of simple polygons are the
star-shaped polygons, the polygons that have a point (interior or on their boundary) from which every point is visible.
A
monotone polygon, with respect to a straight line
, is a polygon for which every line perpendicular to
intersects the interior of the polygon in a connected set. Equivalently, it is a polygon whose boundary can be partitioned into two monotone polygonal chains, subsequences of edges whose vertices, when projected perpendicularly onto
, have the same order along
as they do in the chain.
Computational problems

In
computational geometry, several important computational tasks involve inputs in the form of a simple polygon.
*
Point in polygon
In computational geometry, the point-in-polygon (PIP) problem asks whether a given point in the plane lies inside, outside, or on the boundary of a polygon. It is a special case of point location problems and finds applications in areas that deal ...
testing involves determining, for a simple polygon
and a query point
, whether
lies interior to
. It can be solved in
linear time
In theoretical computer science, the time complexity is the computational complexity that describes the amount of computer time it takes to run an algorithm. Time complexity is commonly estimated by counting the number of elementary operations ...
; alternatively, it is possible to process a given polygon into a data structure, in linear time, so that subsequent point in polygon tests can be performed in logarithmic time.
* Simple formulae are known for computing the
area
Area is the measure of a region's size on a surface. The area of a plane region or ''plane area'' refers to the area of a shape or planar lamina, while '' surface area'' refers to the area of an open surface or the boundary of a three-di ...
of the interior of a polygon. These include the
shoelace formula for arbitrary polygons, and
Pick's theorem for polygons with integer vertex coordinates.
* The
convex hull of a simple polygon can also be found in linear time, faster than algorithms for finding
convex hull
In geometry, the convex hull, convex envelope or convex closure of a shape is the smallest convex set that contains it. The convex hull may be defined either as the intersection of all convex sets containing a given subset of a Euclidean space, ...
s of points that have not been connected into a polygon.
* Constructing a triangulation of a simple polygon can also be performed in linear time, although the algorithm is complicated. A modification of the same algorithm can also be used to test whether a closed polygonal chain forms a simple polygon (that is, whether it avoids self-intersections) in linear time. This also leads to a linear time algorithm for solving the art gallery problem using at most
points, although not necessarily using the optimal number of points for a given polygon. Although it is possible to transform any two triangulations of the same polygon into each other by
flips that replace one diagonal at a time, determining whether one can do so using only a limited number of flips is
NP-complete
In computational complexity theory, NP-complete problems are the hardest of the problems to which ''solutions'' can be verified ''quickly''.
Somewhat more precisely, a problem is NP-complete when:
# It is a decision problem, meaning that for any ...
.
* A
geodesic
In geometry, a geodesic () is a curve representing in some sense the locally shortest path ( arc) between two points in a surface, or more generally in a Riemannian manifold. The term also has meaning in any differentiable manifold with a conn ...
path, the
shortest path in the plane that connects two points interior to a polygon, without crossing to the exterior, may be found in linear time by an algorithm that uses triangulation as a subroutine. The same is true for the ''geodesic center'', a point in the polygon that minimizes the maximum length of its geodesic paths to all other points.
* The
visibility polygon of an interior point of a simple polygon, the points that are directly visible from the given point by line segments interior to the polygon, can be constructed in linear time. The same is true for the subset that is visible from at least one point of a given line segment.
Other computational problems studied for simple polygons include constructions of the longest diagonal or the longest line segment interior to a polygon, of the
convex skull (the largest convex polygon within the given simple polygon), and of various one-dimensional ''skeletons'' approximating its shape, including the
medial axis and
straight skeleton. Researchers have also studied producing other polygons from simple polygons using their
offset curves, unions and intersections, and
Minkowski sum
In geometry, the Minkowski sum of two sets of position vectors ''A'' and ''B'' in Euclidean space is formed by adding each vector in ''A'' to each vector in ''B'':
A + B = \
The Minkowski difference (also ''Minkowski subtraction'', ''Minkowsk ...
s, but these operations do not always produce a simple polygon as their result. They can be defined in a way that always produces a two-dimensional region, but this requires careful definitions of the intersection and difference operations in order to avoid creating one-dimensional features or isolated points.
Related constructions
According to the
Riemann mapping theorem
In complex analysis, the Riemann mapping theorem states that if U is a non-empty simply connected open subset of the complex number plane \mathbb which is not all of \mathbb, then there exists a biholomorphic mapping f (i.e. a bijective hol ...
, any simply connected open subset of the plane can be
conformally mapped onto a disk.
Schwarz–Christoffel mapping provides a method to explicitly construct a map from a disk to any simple polygon using specified vertex angles and pre-images of the polygon vertices on the boundary of the disk. These ''pre-vertices'' are typically computed numerically.

Every finite set of points in the plane that does not lie on a single line can be connected to form the vertices of a simple polygon (allowing 180° angles); for instance, one such polygon is the solution to the
traveling salesperson problem. Connecting points to form a polygon in this way is called
polygonalization.
Every simple polygon can be represented by a formula in
constructive solid geometry that constructs the polygon (as a closed set including the interior) from unions and intersections of
half-plane
In mathematics, the upper half-plane, is the set of points in the Cartesian plane with The lower half-plane is the set of points with instead. Arbitrary oriented half-planes can be obtained via a planar rotation. Half-planes are an example ...
s, with each side of the polygon appearing once as a half-plane in the formula. Converting an
-sided polygon into this representation can be performed in time
.
The
visibility graph of a simple polygon connects its vertices by edges representing the sides and diagonals of the polygon. It always contains a
Hamiltonian cycle
In the mathematics, mathematical field of graph theory, a Hamiltonian path (or traceable path) is a path (graph theory), path in an undirected or directed graph that visits each vertex (graph theory), vertex exactly once. A Hamiltonian cycle (or ...
, formed by the polygon sides. The computational complexity of reconstructing a polygon that has a given graph as its visibility graph, with a specified Hamiltonian cycle as its cycle of sides, remains an open problem.
See also
*
Carpenter's rule problem, on continuous motion of a simple polygon into a convex polygon
*
Erdős–Nagy theorem, a process of reflecting pockets of a non-convex simple polygon to make it convex
*
Net (polyhedron)
In geometry, a net of a polyhedron is an arrangement of non-overlapping Edge (geometry), edge-joined polygons in the plane (geometry), plane which can be folded (along edges) to become the face (geometry), faces of the polyhedron. Polyhedral net ...
, a simple polygon that can be folded and glued to form a given polyhedron
*
Spherical polygon, an analogous concept on the surface of a sphere
*
Weakly simple polygon, a generalization of simple polygons allowing the edges to touch in limited ways
References
External links
*
{{bots, deny=Citation bot
Types of polygons