{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $n \\ge 1$ and let $S = \\set{p_1, \\dots, p_k}$ be a finite set of $k \\ge 1$ distinct points of [[Euclidean space|0XPR1E85W0]] $\\R^n$, called *sites*.\nLet $\\norm{x - y}$ denote the [[Euclidean distance|0NPPGHQNXQ]].\nThe *Voronoi cell* of the site $p_i$ is\n$$V(p_i) = \\set{x \\in \\R^n : \\norm{x - p_i} \\le \\norm{x - p_j} \\text{ for all } j = 1, \\dots, k}.$$\nThe *Voronoi diagram* of $S$ is the family of cells $V(p_1), \\dots, V(p_k)$.\n\n## Remarks\n\nExample: for the two sites $p_1 = (-1, 0)$ and $p_2 = (1, 0)$ in $\\R^2$, the condition $\\norm{x - p_1} \\le \\norm{x - p_2}$ reduces to $x_1 \\le 0$.\nSo $V(p_1)$ is the closed half-plane $x_1 \\le 0$, $V(p_2)$ is the half-plane $x_1 \\ge 0$, and they meet along the perpendicular bisector $x_1 = 0$.\n\nNon-example: the cells $\\set{x : x_1 \\le -1}$ and $\\set{x : x_1 \\ge -1}$ are not the Voronoi diagram of these two sites, since the point $(-1/2, 0)$ is closer to $p_1$ but lies in the second set only.\n\nEach condition $\\norm{x - p_i} \\le \\norm{x - p_j}$ defines a closed half-space, so each cell is a convex polyhedron.\nThe cells cover $\\R^n$, and two distinct cells have disjoint interiors, so the Voronoi diagram is a tiling of $\\R^n$.\nThe Voronoi cell of a point of a lattice, with all lattice points as sites, is a [[Voronoi cell|V1R1R88GV6]] in the sense of the geometry of numbers.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "QDNEBBVZ84",
    "kind": "definition",
    "msc": [
      "52C99",
      "68U05"
    ],
    "name": "Voronoi diagram",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Voronoi_diagram"
      }
    ],
    "tag": "AMC3JCQ497",
    "uses": [
      "0XPR1E85W0",
      "0NPPGHQNXQ"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/AMC3JCQ497/",
  "links": [
    {
      "field": "defines",
      "target": "QDNEBBVZ84"
    },
    {
      "field": "uses",
      "target": "0XPR1E85W0"
    },
    {
      "field": "uses",
      "target": "0NPPGHQNXQ"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/AMC3JCQ497.md",
  "msc": [
    "52C99",
    "68U05"
  ],
  "name": "Voronoi diagram",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/AMC/AMC3JCQ497.md",
  "status": null,
  "tag": "AMC3JCQ497",
  "uri": "m2://AMC3JCQ497",
  "url": "https://tamnd.github.io/math2/wiki/voronoi-diagram-definition/",
  "writing": {
    "tag": "AMC3JCQ497",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
