{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $P \\subset \\R^2$ be a simple polygon, that is, a closed region bounded by a closed polygonal chain with $n \\ge 3$ vertices that does not cross itself.\nA *triangulation* of $P$ is a finite set $T$ of [[triangles|0CTNFGYMM2]] such that:\n\n1. the union of the triangles of $T$ is $P$;\n2. the vertices of each triangle of $T$ are vertices of $P$;\n3. any two distinct triangles of $T$ meet in the empty set, in one common vertex, or in one common side.\n\nEquivalently, a triangulation is given by a maximal set of diagonals of $P$ that pairwise meet only at endpoints.\nA diagonal is a [[line segment|VQ4Q2V45RP]] joining two vertices of $P$ that lies in $P$ and meets the boundary of $P$ only at its endpoints.\n\n## Remarks\n\nExample: let $P$ be the square with vertices $(0,0)$, $(1,0)$, $(1,1)$, $(0,1)$.\nThe diagonal from $(0,0)$ to $(1,1)$ splits it into two triangles.\nTheir union is $P$, their vertices are vertices of $P$, and they meet in a common side, so all three clauses hold.\n\nNon-example: split the same square into four triangles by joining the centre $(1/2, 1/2)$ to the four corners.\nClauses 1 and 3 hold, but clause 2 fails, since the centre is not a vertex of $P$.\n\nEvery simple polygon with $n$ vertices has a triangulation, and every triangulation has $n - 2$ triangles and $n - 3$ diagonals.\nA convex polygon with $n$ vertices has exactly $C_{n-2}$ triangulations, where $C_m = \\frac{1}{m+1}\\binom{2m}{m}$ is the $m$-th Catalan number.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "Q6KKBP3RRP",
    "kind": "definition",
    "msc": [
      "68U05",
      "52C45"
    ],
    "name": "Polygon triangulation",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Polygon_triangulation"
      }
    ],
    "tag": "5NH4HVMEXA",
    "uses": [
      "0CTNFGYMM2",
      "VQ4Q2V45RP"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/5NH4HVMEXA/",
  "links": [
    {
      "field": "defines",
      "target": "Q6KKBP3RRP"
    },
    {
      "field": "uses",
      "target": "0CTNFGYMM2"
    },
    {
      "field": "uses",
      "target": "VQ4Q2V45RP"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/5NH4HVMEXA.md",
  "msc": [
    "68U05",
    "52C45"
  ],
  "name": "Polygon triangulation",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/5NH/5NH4HVMEXA.md",
  "status": null,
  "tag": "5NH4HVMEXA",
  "uri": "m2://5NH4HVMEXA",
  "url": "https://tamnd.github.io/math2/wiki/polygon-triangulation-definition/",
  "writing": {
    "tag": "5NH4HVMEXA",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
