Encyclopedia  |   World Factbook  |   World Flags  |   Reference Tables  |   List of Lists     
   Academic Disciplines  |   Historical Timeline  |   Themed Timelines  |   Biographies  |   How-Tos     
Your Ad Here
Sponsor by The Tattoo Collection


Polygon
Main Page | See live article | Alphabetical index

Polygon

     
A polygon (from the Greek poly, for "many", and gwnos, for "angle") is a closed planar path composed of a finite number of sequential straight line segments. The term polygon sometimes also describes the interior of the polygon (the open area that this path encloses) or the union of both. The straight line segments that make up the polygon are called its sides or edges and the points where the sides meet are the polygon's vertices.

Table of contents
1 Names and types
2 Taxonomic classification
3 Properties
4 Point in polygon test
5 External link

Names and types

A simple non-convex hexagon
A complex polygon
Polygons are named according to the number of sides, combining a Greek root with the suffix -gon, e.g.
pentagon, dodecagon. The triangle and quadrilateral are exceptions. For larger numbers, mathematicians write the numeral itself, eg 17-gon. A variable can even be used, usually n-gon. This is useful if the number of sides is used in a formula.

Polygon names
Note: you can help Wikipedia by putting

the following polygons in "Category:Polygons".
Name Sides
triangle3
quadrilateral4
pentagon5
hexagon6
heptagon (avoid "septagon")7
octagon8
enneagon (avoid "nonagon")9
decagon10
hendecagon (avoid "undecagon")11
dodecagon (avoid "duodecagon")12
triskaidecagon13
heptakaidecagon17
enneadecagon19
icosagon20
icosikaihenagon21
icosikaitetragon24
tricontagon30
tetracontagon40
tetracontakaihexagon46
pentcontagon50
hexacontagon60
heptacontagon70
heptacontakaiheptagon77
octacontagon80
enneacontagon90
hectagon (avoid "centagon")100
chiliagon1000
myriagon10,000
megagon106
googolgon 10100

Taxonomic classification

The taxonomic classification of polygons is illustrated by the following tree:

                                      Polygon
                                     /       \\
                                 Simple     Complex
                                /     \\
                           Convex     Concave
                            /
                       Cyclic 
                       /    
                  Regular

Properties

We will assume Euclidean geometry throughout.

Any polygon, regular or irregular, complex or simple, has as many angles as it has sides. The sum of the inner angles of a simple n-gon is (n-2)π radians (or (n-2)180°), and the inner angle of a regular n-gon is (n-2)π/n radians (or (n-2)180°/n). This can be seen in two different ways:

The area A of a simple polygon can be computed if the cartesian coordinates (x1, y1), (x2, y2), ..., (xn, yn) of its vertices, listed in order as the area is circulated in counter-clockwise fashion, are known. The formula is
A = 1/2 · (x1y2 - x2y1 + x2y3 - x3y2 + ... + xny1 - x1yn)
  = 1/2 · (x1(y2 - yn) + x2(y3 - y1) + x3(y4 - y2) + ... + xn(y1 - yn-1))
The formula was described by Meister in 1769 and by Gauss in 1795. It can be verified by dividing the polygon into triangles, but it can also be seen as a special case of Green's theorem.

If the polygon can be drawn on an equally-spaced grid such that all its vertices are grid points, Pick's theorem gives a simple formula for the polygon's area based on the numbers of interior and boundary grid points.

If any two simple polygons of equal area are given, then the first can be cut into polygonal pieces which can be reassembled to form the second polygon. This is the Bolyai-Gerwien theorem.

All regular polygons are concyclic, as are all triangles and rectangles (see circumcircle).

A regular n-sided polygon can be constructed with ruler and compass if and only if the odd prime factors of n are distinct Fermat primes. See constructible polygon.

Point in polygon test

In computer graphics and computational geometry, it is often necessary to determine whether a given point P = (x0,y0) lies inside a simple polygon given by a sequence of line segments. It is known as Point in polygon test.

See also: geometric shape, polyhedron, polytope, cyclic polygon, synthetic geometry.

External link

Optimized Point-in-Polygon code http://www.ecse.rpi.edu/Homepages/wrf/research/geom/pnpoly.html