-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathannotations.json
More file actions
1 lines (1 loc) · 23.6 KB
/
annotations.json
File metadata and controls
1 lines (1 loc) · 23.6 KB
1
{"annotated_chunks": [{"chunk": "In geometry, a polygon () is a plane figure made up of line segments connected to form a closed polygonal chain.\nThe segments of a closed polygonal chain are called its edges or sides. The points where two edges meet are the polygon's vertices or corners. An n-gon is a polygon with n sides; for example, a triangle is a 3-gon.\nA simple polygon is one which does not intersect itself. More precisely, the only allowed intersections among the line segments that make up the polygon are the shared endpoints of consecutive segments in the polygonal chain. A simple polygon is the boundary of a region of the plane that is called a solid polygon. The interior of a solid polygon is its body, also known as a polygonal region or polygonal area. In contexts where one is concerned only with simple and solid polygons, a polygon may refer only to a simple polygon or to a solid polygon.\nA polygonal chain may cross over itself, creating star polygons and other self-intersecting polygons. Some sources also consider closed polygonal chains in Euclidean space to be a type of polygon (a skew polygon), even when the chain does not lie in a single plane.\nA polygon is a 2-dimensional example of the more general polytope in any number of dimensions. There are many more generalizations of polygons defined for different purposes.", "x_is_a_y": [["polygon", "plane figure"], ["closed polygonal chain", "polygon"], ["vertex", "point"], ["edge", "segment"], ["side", "segment"], ["n-gon", "polygon"], ["triangle", "n-gon"], ["triangle", "polygon"], ["3-gon", "n-gon"], ["simple polygon", "polygon"], ["solid polygon", "region"], ["solid polygon", "polygon"], ["skew polygon", "polygon"], ["self-intersecting polygon", "polygon"], ["star polygon", "polygon"], ["polygon", "polytope"]]}, {"chunk": "== Etymology ==\nThe word polygon derives from the Greek adjective \u03c0\u03bf\u03bb\u03cd\u03c2 (pol\u00fas) 'much', 'many' and \u03b3\u03c9\u03bd\u03af\u03b1 (g\u014dn\u00eda) 'corner' or 'angle'. It has been suggested that \u03b3\u03cc\u03bd\u03c5 (g\u00f3nu) 'knee' may be the origin of gon.", "x_is_a_y": []}, {"chunk": "== Classification == \n=== Number of sides ===\nPolygons are primarily classified by the number of sides. \n=== Convexity and intersection ===\nPolygons may be characterized by their convexity or type of non-convexity: \nConvex: any line drawn through the polygon (and not tangent to an edge or corner) meets its boundary exactly twice. As a consequence, all its interior angles are less than 180\u00b0. Equivalently, any line segment with endpoints on the boundary passes through only interior points between its endpoints. This condition is true for polygons in any geometry, not just Euclidean.\nNon-convex: a line may be found which meets its boundary more than twice. Equivalently, there exists a line segment between two boundary points that passes outside the polygon.\nSimple: the boundary of the polygon does not cross itself. All convex polygons are simple.\nConcave: Non-convex and simple. There is at least one interior angle greater than 180\u00b0.\nStar-shaped: the whole interior is visible from at least one point, without crossing any edge. The polygon must be simple, and may be convex or concave. All convex polygons are star-shaped.\nSelf-intersecting: the boundary of the polygon crosses itself. The term complex is sometimes used in contrast to simple, but this usage risks confusion with the idea of a complex polygon as one which exists in the complex Hilbert plane consisting of two complex dimensions.\nStar polygon: a polygon which self-intersects in a regular way. A polygon cannot be both a star and star-shaped. \n=== Equality and symmetry ===\nEquiangular: all corner angles are equal.\nEquilateral: all edges are of the same length.\nRegular: both equilateral and equiangular.\nCyclic: all corners lie on a single circle, called the circumcircle.\nTangential: all sides are tangent to an inscribed circle.\nIsogonal or vertex-transitive: all corners lie within the same symmetry orbit. The polygon is also cyclic and equiangular.", "x_is_a_y": [["convex polygon", "polygon"], ["non-convex polygon", "polygon"], ["simple polygon", "polygon"], ["concave polygon", "polygon"], ["star-shaped polygon", "polygon"], ["self-intersecting polygon", "polygon"], ["star polygon", "polygon"], ["equiangular polygon", "polygon"], ["equilateral polygon", "polygon"], ["regular polygon", "polygon"], ["cyclic polygon", "polygon"], ["tangential polygon", "polygon"], ["isogonal polygon", "polygon"], ["vertex-transitive polygon", "polygon"]]}, {"chunk": "Tangential: all sides are tangent to an inscribed circle.\nIsogonal or vertex-transitive: all corners lie within the same symmetry orbit. The polygon is also cyclic and equiangular.\nIsotoxal or edge-transitive: all sides lie within the same symmetry orbit. The polygon is also equilateral and tangential.The property of regularity may be defined in other ways: a polygon is regular if and only if it is both isogonal and isotoxal, or equivalently it is both cyclic and equilateral. A non-convex regular polygon is called a regular star polygon. \n=== Miscellaneous ===\nRectilinear: the polygon's sides meet at right angles, i.e. all its interior angles are 90 or 270 degrees.\nMonotone with respect to a given line L: every line orthogonal to L intersects the polygon not more than twice.", "x_is_a_y": [["tangential polygon", "polygon"], ["isogonal polygon", "polygon"], ["isotoxal polygon", "polygon"], ["convex polygon", "polygon"], ["rectilinear polygon", "polygon"], ["non-convex regular polygon", "regular polygon"], ["regular star polygon", "star polygon"]]}, {"chunk": "== Properties and formulas ==\nEuclidean geometry is assumed throughout. \n=== Angles ===\nAny polygon has as many corners as it has sides. Each corner has several angles. The two most important ones are: \nInterior angle \u2013 The sum of the interior angles of a simple n-gon is (n \u2212 2) \u00d7 \u03c0 radians or (n \u2212 2) \u00d7 180 degrees. This is because any simple n-gon ( having n sides ) can be considered to be made up of (n \u2212 2) triangles, each of which has an angle sum of \u03c0 radians or 180 degrees. The measure of any interior angle of a convex regular n-gon is \n( \n1\n\u2212 \n2\nn \n) \n\u03c0 \n{\\displaystyle \\left(1-{\\tfrac {2}{n}}\\right)\\pi }\nradians or \n180\n\u2212 \n360\nn \n{\\displaystyle 180-{\\tfrac {360}{n}}}\ndegrees. The interior angles of regular star polygons were first studied by Poinsot, in the same paper in which he describes the four regular star polyhedra: for a regular \np\nq \n{\\displaystyle {\\tfrac {p}{q}}}\n-gon (a p-gon with central density q), each interior angle is \n\u03c0\n(\np\n\u2212\n2\nq\n) \np \n{\\displaystyle {\\tfrac {\\pi (p-2q)}{p}}}\nradians or \n180\n(\np\n\u2212\n2\nq\n) \np \n{\\displaystyle {\\tfrac {180(p-2q)}{p}}}\ndegrees.\nExterior angle \u2013 The exterior angle is the supplementary angle to the interior angle. Tracing around a convex n-gon, the angle \"turned\" at a corner is the exterior or external angle. Tracing all the way around the polygon makes one full turn, so the sum of the exterior angles must be 360\u00b0. This argument can be generalized to concave simple polygons, if external angles that turn in the opposite direction are subtracted from the total turned. Tracing around an n-gon in general, the sum of the exterior angles (the total amount one rotates at the vertices) can be any integer multiple d of 360\u00b0, e.g. 720\u00b0 for a pentagram and 0\u00b0 for an angular \"eight\" or antiparallelogram, where d is the density or turning number of the polygon. \n=== Area ===\nIn this section, the vertices of the polygon under consideration are taken to be \n( \nx \n0 \n, \ny \n0 \n)\n,\n( \nx \n1 \n, \ny \n1 \n)\n,", "x_is_a_y": [["interior angle", "angle"], ["exterior angle", "angle"], ["external polygon", "polygon"], ["external polygon", "polygon"], ["simple n-gon", "n-gon"], ["convex n-gon", "n-gon"], ["concave simple polygon", "polygon"]]}, {"chunk": "=== Area ===\nIn this section, the vertices of the polygon under consideration are taken to be \n( \nx \n0 \n, \ny \n0 \n)\n,\n( \nx \n1 \n, \ny \n1 \n)\n,\n\u2026\n,\n( \nx \nn\n\u2212\n1 \n, \ny \nn\n\u2212\n1 \n) \n{\\displaystyle (x_{0},y_{0}),(x_{1},y_{1}),\\ldots ,(x_{n-1},y_{n-1})}\nin order. For convenience in some formulas, the notation (xn, yn) = (x0, y0) will also be used. \n==== Simple polygons ==== \nIf the polygon is non-self-intersecting (that is, simple), the signed area is \nA\n= \n1\n2 \n\u2211 \ni\n=\n0 \nn\n\u2212\n1 \n( \nx \ni \ny \ni\n+\n1 \n\u2212 \nx \ni\n+\n1 \ny \ni \n) \nwhere \nx \nn \n= \nx \n0 \nand \ny \nn \n= \ny \n0 \n, \n{\\displaystyle A={\\frac {1}{2}}\\sum _{i=0}^{n-1}(x_{i}y_{i+1}-x_{i+1}y_{i})\\quad {\\text{where }}x_{n}=x_{0}{\\text{ and }}y_{n}=y_{0},}\nor, using determinants \n16 \nA \n2 \n= \n\u2211 \ni\n=\n0 \nn\n\u2212\n1 \n\u2211 \nj\n=\n0 \nn\n\u2212\n1 \n| \nQ \ni\n,\nj \nQ \ni\n,\nj\n+\n1 \nQ \ni\n+\n1\n,\nj \nQ \ni\n+\n1\n,\nj\n+\n1 \n| \n, \n{\\displaystyle 16A^{2}=\\sum _{i=0}^{n-1}\\sum _{j=0}^{n-1}{\\begin{vmatrix}Q_{i,j}&Q_{i,j+1}\\\\Q_{i+1,j}&Q_{i+1,j+1}\\end{vmatrix}},}\nwhere \nQ \ni\n,\nj \n{\\displaystyle Q_{i,j}}\nis the squared distance between \n( \nx \ni \n, \ny \ni \n) \n{\\displaystyle (x_{i},y_{i})}\nand \n( \nx \nj \n, \ny \nj \n)\n. \n{\\displaystyle (x_{j},y_{j}).}\nThe signed area depends on the ordering of the vertices and of the orientation of the plane. Commonly, the positive orientation is defined by the (counterclockwise) rotation that maps the positive x-axis to the positive y-axis. If the vertices are ordered counterclockwise (that is, according to positive orientation), the signed area is positive; otherwise, it is negative. In either case, the area formula is correct in absolute value. This is commonly called the shoelace formula or surveyor's formula.The area A of a simple polygon can also be computed if the lengths of the sides, a1, a2, ..., an and the exterior angles, \u03b81, \u03b82, ..., \u03b8n are known, from: \nA\n= \n1\n2 \n( \na \n1 \n[ \na \n2 \nsin\n\u2061\n( \n\u03b8 \n1 \n)\n+ \na \n3 \nsin\n\u2061\n( \n\u03b8 \n1 \n+ \n\u03b8 \n2 \n)\n+", "x_is_a_y": [["simple polygon", "polygon"], ["non-self-intersecting polygon", "polygon"], ["exterior angle", "angle"]]}, {"chunk": "A\n= \n1\n2 \n( \na \n1 \n[ \na \n2 \nsin\n\u2061\n( \n\u03b8 \n1 \n)\n+ \na \n3 \nsin\n\u2061\n( \n\u03b8 \n1 \n+ \n\u03b8 \n2 \n)\n+\n\u22ef\n+ \na \nn\n\u2212\n1 \nsin\n\u2061\n( \n\u03b8 \n1 \n+ \n\u03b8 \n2 \n+\n\u22ef\n+ \n\u03b8 \nn\n\u2212\n2 \n)\n] \n+ \na \n2 \n[ \na \n3 \nsin\n\u2061\n( \n\u03b8 \n2 \n)\n+ \na \n4 \nsin\n\u2061\n( \n\u03b8 \n2 \n+ \n\u03b8 \n3 \n)\n+\n\u22ef\n+ \na \nn\n\u2212\n1 \nsin\n\u2061\n( \n\u03b8 \n2 \n+\n\u22ef\n+ \n\u03b8 \nn\n\u2212\n2 \n)\n] \n+\n\u22ef\n+ \na \nn\n\u2212\n2 \n[ \na \nn\n\u2212\n1 \nsin\n\u2061\n( \n\u03b8 \nn\n\u2212\n2 \n)\n]\n)\n. \n{\\displaystyle {\\begin{aligned}A={\\frac {1}{2}}(a_{1}[a_{2}\\sin(\\theta _{1})+a_{3}\\sin(\\theta _{1}+\\theta _{2})+\\cdots +a_{n-1}\\sin(\\theta _{1}+\\theta _{2}+\\cdots +\\theta _{n-2})]\\\\{}+a_{2}[a_{3}\\sin(\\theta _{2})+a_{4}\\sin(\\theta _{2}+\\theta _{3})+\\cdots +a_{n-1}\\sin(\\theta _{2}+\\cdots +\\theta _{n-2})]\\\\{}+\\cdots +a_{n-2}[a_{n-1}\\sin(\\theta _{n-2})]).\\end{aligned}}}\nThe formula was described by Lopshits in 1963.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: the former number plus one-half the latter number, minus 1.\nIn every polygon with perimeter p and area A , the isoperimetric inequality \np \n2 \n>\n4\n\u03c0\nA \n{\\displaystyle p^{2}>4\\pi A}\nholds.For any two simple polygons of equal area, the Bolyai\u2013Gerwien theorem asserts that the first can be cut into polygonal pieces which can be reassembled to form the second polygon.\nThe lengths of the sides of a polygon do not in general determine its area. However, if the polygon is simple and cyclic then the sides do determine the area. Of all n-gons with given side lengths, the one with the largest area is cyclic. Of all n-gons with a given perimeter, the one with the largest area is regular (and therefore cyclic). \n==== Regular polygons ====\nMany specialized formulas apply to the areas of regular polygons.\nThe area of a regular polygon is given in terms of the radius r of its inscribed circle and its perimeter p by \nA\n= \n1\n2 \n\u22c5\np\n\u22c5\nr\n.", "x_is_a_y": [["interior grid points", "grid points"], ["boundary grid points", "grid points"], ["simple polygon", "polygon"], ["cyclic n-gon", "n-gon"], ["regular n-gon", "n-gon"], ["regular polygon", "polygon"], ["cyclic polygon", "polygon"], ["inscribed circle", "circle"]]}, {"chunk": "The area of a regular polygon is given in terms of the radius r of its inscribed circle and its perimeter p by \nA\n= \n1\n2 \n\u22c5\np\n\u22c5\nr\n. \n{\\displaystyle A={\\tfrac {1}{2}}\\cdot p\\cdot r.}\nThis radius is also termed its apothem and is often represented as a.\nThe area of a regular n-gon in terms of the radius R of its circumscribed circle can be expressed trigonometrically as: \nA\n= \nR \n2 \n\u22c5 \nn\n2 \n\u22c5\nsin\n\u2061 \n2\n\u03c0 \nn \n= \nR \n2 \n\u22c5\nn\n\u22c5\nsin\n\u2061 \n\u03c0\nn \n\u22c5\ncos\n\u2061 \n\u03c0\nn \n{\\displaystyle A=R^{2}\\cdot {\\frac {n}{2}}\\cdot \\sin {\\frac {2\\pi }{n}}=R^{2}\\cdot n\\cdot \\sin {\\frac {\\pi }{n}}\\cdot \\cos {\\frac {\\pi }{n}}}\nThe area of a regular n-gon inscribed in a unit-radius circle, with side s and interior angle \n\u03b1\n, \n{\\displaystyle \\alpha ,}\ncan also be expressed trigonometrically as: \nA\n= \nn \ns \n2 \n4 \ncot\n\u2061 \n\u03c0\nn \n= \nn \ns \n2 \n4 \ncot\n\u2061 \n\u03b1 \nn\n\u2212\n2 \n=\nn\n\u22c5\nsin\n\u2061 \n\u03b1 \nn\n\u2212\n2 \n\u22c5\ncos\n\u2061 \n\u03b1 \nn\n\u2212\n2 \n. \n{\\displaystyle A={\\frac {ns^{2}}{4}}\\cot {\\frac {\\pi }{n}}={\\frac {ns^{2}}{4}}\\cot {\\frac {\\alpha }{n-2}}=n\\cdot \\sin {\\frac {\\alpha }{n-2}}\\cdot \\cos {\\frac {\\alpha }{n-2}}.} \n==== Self-intersecting ====\nThe area of a self-intersecting polygon can be defined in two different ways, giving different answers: \nUsing the formulas for simple polygons, we allow that particular regions within the polygon may have their area multiplied by a factor which we call the density of the region. For example, the central convex pentagon in the center of a pentagram has density 2. The two triangular regions of a cross-quadrilateral (like a figure 8) have opposite-signed densities, and adding their areas together can give a total area of zero for the whole figure.", "x_is_a_y": [["regular polygon", "polygon"], ["inscribed circle", "circle"], ["regular n-gon", "n-gon"], ["unit-radius circle", "circle"], ["self-intersecting polygon", "polygon"]]}, {"chunk": "Considering the enclosed regions as point sets, we can find the area of the enclosed point set. This corresponds to the area of the plane covered by the polygon or to the area of one or more simple polygons having the same outline as the self-intersecting one. In the case of the cross-quadrilateral, it is treated as two simple triangles. \n=== Centroid ===\nUsing the same convention for vertex coordinates as in the previous section, the coordinates of the centroid of a solid simple polygon are \nC \nx \n= \n1 \n6\nA \n\u2211 \ni\n=\n0 \nn\n\u2212\n1 \n( \nx \ni \n+ \nx \ni\n+\n1 \n)\n( \nx \ni \ny \ni\n+\n1 \n\u2212 \nx \ni\n+\n1 \ny \ni \n)\n, \n{\\displaystyle C_{x}={\\frac {1}{6A}}\\sum _{i=0}^{n-1}(x_{i}+x_{i+1})(x_{i}y_{i+1}-x_{i+1}y_{i}),} \nC \ny \n= \n1 \n6\nA \n\u2211 \ni\n=\n0 \nn\n\u2212\n1 \n( \ny \ni \n+ \ny \ni\n+\n1 \n)\n( \nx \ni \ny \ni\n+\n1 \n\u2212 \nx \ni\n+\n1 \ny \ni \n)\n. \n{\\displaystyle C_{y}={\\frac {1}{6A}}\\sum _{i=0}^{n-1}(y_{i}+y_{i+1})(x_{i}y_{i+1}-x_{i+1}y_{i}).}\nIn these formulas, the signed value of area \nA \n{\\displaystyle A}\nmust be used.\nFor triangles (n = 3), the centroids of the vertices and of the solid shape are the same, but, in general, this is not true for n > 3. The centroid of the vertex set of a polygon with n vertices has the coordinates \nc \nx \n= \n1\nn \n\u2211 \ni\n=\n0 \nn\n\u2212\n1 \nx \ni \n, \n{\\displaystyle c_{x}={\\frac {1}{n}}\\sum _{i=0}^{n-1}x_{i},} \nc \ny \n= \n1\nn \n\u2211 \ni\n=\n0 \nn\n\u2212\n1 \ny \ni \n. \n{\\displaystyle c_{y}={\\frac {1}{n}}\\sum _{i=0}^{n-1}y_{i}.}", "x_is_a_y": [["centroid", "point"], ["cross-quadrilateral", "polygon"], ["simple polygon", "polygon"], ["solid simple polygon", "polygon"], ["triangle", "polygon"], ["vertex", "point"]]}, {"chunk": "== Generalizations ==\nThe idea of a polygon has been generalized in various ways. Some of the more important include: \nA spherical polygon is a circuit of arcs of great circles (sides) and vertices on the surface of a sphere. It allows the digon, a polygon having only two sides and two corners, which is impossible in a flat plane. Spherical polygons play an important role in cartography (map making) and in Wythoff's construction of the uniform polyhedra.\nA skew polygon does not lie in a flat plane, but zigzags in three (or more) dimensions. The Petrie polygons of the regular polytopes are well known examples.\nAn apeirogon is an infinite sequence of sides and angles, which is not closed but has no ends because it extends indefinitely in both directions.\nA skew apeirogon is an infinite sequence of sides and angles that do not lie in a flat plane.\nA polygon with holes is an area-connected or multiply-connected planar polygon with one external boundary and one or more interior boundaries (holes).\nA complex polygon is a configuration analogous to an ordinary polygon, which exists in the complex plane of two real and two imaginary dimensions.\nAn abstract polygon is an algebraic partially ordered set representing the various elements (sides, vertices, etc.) and their connectivity. A real geometric polygon is said to be a realization of the associated abstract polygon. Depending on the mapping, all the generalizations described here can be realized.\nA polyhedron is a three-dimensional solid bounded by flat polygonal faces, analogous to a polygon in two dimensions. The corresponding shapes in four or higher dimensions are called polytopes. (In other conventions, the words polyhedron and polytope are used in any dimension, with the distinction between the two that a polytope is necessarily bounded.)", "x_is_a_y": [["spherical polygon", "polygon"], ["digon", "polygon"], ["skew polygon", "polygon"], ["Petrie polygon", "polygon"], ["apeirogon", "polygon"], ["skew apeirogon", "apeirogon"], ["polygon with holes", "polygon"], ["area-connected polygon", "polygon"], ["multiply-connected polygon", "polygon"], ["planar polygon", "polygon"], ["complex polygon", "polygon"], ["abstract polygon", "polygon"], ["polyhedron", "three-dimensional solid"], ["polytope", "polyhedron"]]}, {"chunk": "== Naming ==\nThe word polygon comes from Late Latin polyg\u014dnum (a noun), from Greek \u03c0\u03bf\u03bb\u03cd\u03b3\u03c9\u03bd\u03bf\u03bd (polyg\u014dnon/polug\u014dnon), noun use of neuter of \u03c0\u03bf\u03bb\u03cd\u03b3\u03c9\u03bd\u03bf\u03c2 (polyg\u014dnos/polug\u014dnos, the masculine adjective), meaning \"many-angled\". Individual polygons are named (and sometimes classified) according to the number of sides, combining a Greek-derived numerical prefix with the suffix -gon, e.g. pentagon, dodecagon. The triangle, quadrilateral and nonagon are exceptions.\nBeyond decagons (10-sided) and dodecagons (12-sided), mathematicians generally use numerical notation, for example 17-gon and 257-gon.Exceptions exist for side counts that are easily expressed in verbal form (e.g. 20 and 30), or are used by non-mathematicians. Some special polygons also have their own names; for example the regular star pentagon is also known as the pentagram. \nTo construct the name of a polygon with more than 20 and fewer than 100 edges, combine the prefixes as follows. The \"kai\" term applies to 13-gons and higher and was used by Kepler, and advocated by John H. Conway for clarity of concatenated prefix numbers in the naming of quasiregular polyhedra, though not all sources use it.", "x_is_a_y": [["pentagon", "polygon"], ["dodecagon", "polygon"], ["triangle", "polygon"], ["quadrilateral", "polygon"], ["nonagon", "polygon"], ["decagon", "polygon"], ["pentagram", "polygon"], ["regular star pentagon", "pentagon"]]}, {"chunk": "== History ==\nPolygons have been known since ancient times. The regular polygons were known to the ancient Greeks, with the pentagram, a non-convex regular polygon (star polygon), appearing as early as the 7th century B.C. on a krater by Aristophanes, found at Caere and now in the Capitoline Museum.The first known systematic study of non-convex polygons in general was made by Thomas Bradwardine in the 14th century.In 1952, Geoffrey Colin Shephard generalized the idea of polygons to the complex plane, where each real dimension is accompanied by an imaginary one, to create complex polygons.", "x_is_a_y": [["regular polygon", "polygon"], ["pentagram", "non-convex regular polygon"], ["non-convex regular polygon", "polygon"], ["star polygon", "polygon"], ["non-convex polygon", "polygon"], ["real dimension", "dimension"], ["imaginary dimension", "dimension"], ["complex polygon", "polygon"]]}, {"chunk": "== In nature ==\nPolygons appear in rock formations, most commonly as the flat facets of crystals, where the angles between the sides depend on the type of mineral from which the crystal is made.\nRegular hexagons can occur when the cooling of lava forms areas of tightly packed columns of basalt, which may be seen at the Giant's Causeway in Northern Ireland, or at the Devil's Postpile in California.\nIn biology, the surface of the wax honeycomb made by bees is an array of hexagons, and the sides and base of each cell are also polygons.", "x_is_a_y": [["regular hexagon", "hexagon"]]}, {"chunk": "== Computer graphics == \nIn computer graphics, a polygon is a primitive used in modelling and rendering. They are defined in a database, containing arrays of vertices (the coordinates of the geometrical vertices, as well as other attributes of the polygon, such as color, shading and texture), connectivity information, and materials.Any surface is modelled as a tessellation called polygon mesh. If a square mesh has n + 1 points (vertices) per side, there are n squared squares in the mesh, or 2n squared triangles since there are two triangles in a square. There are (n + 1)2 / 2(n2) vertices per triangle. Where n is large, this approaches one half. Or, each vertex inside the square mesh connects four edges (lines).\nThe imaging system calls up the structure of polygons needed for the scene to be created from the database. This is transferred to active memory and finally, to the display system (screen, TV monitors etc.) so that the scene can be viewed. During this process, the imaging system renders polygons in correct perspective ready for transmission of the processed data to the display system. Although polygons are two-dimensional, through the system computer they are placed in a visual scene in the correct three-dimensional orientation.\nIn computer graphics and computational geometry, it is often necessary to determine whether a given point \nP\n=\n( \nx \n0 \n, \ny \n0 \n) \n{\\displaystyle P=(x_{0},y_{0})}\nlies inside a simple polygon given by a sequence of line segments. This is called the point in polygon test.", "x_is_a_y": [["polygon", "primitive"], ["polygon mesh", "tesselation"], ["square", "polygon"], ["simple polygon", "polygon"], ["vertex", "point"]]}]}