Planar Partitions and Polygon Geometry

Use the Shoelace formula to compute polygon areas, treat airspace as a planar partition whose cell areas add up to the total, and apply Euler's formula VE+F=2V - E + F = 2 to relate the vertices, edges, and sectors of a partition.

Step 1 of 157%

Tutorial

Simple Polygons and the Shoelace Formula

A simple polygon is a closed planar figure bounded by finitely many line segments -- its edges -- that meet only at their endpoints -- its vertices -- and do not cross.

Given a simple polygon with vertices (x1,y1),(x2,y2),,(xn,yn)(x_1, y_1), (x_2, y_2), \ldots, (x_n, y_n) listed in order around its boundary, its area is given by the Shoelace formula:

A=12i=1n(xiyi+1xi+1yi)A = \dfrac{1}{2} \left| \sum\limits_{i=1}^{n} \bigl(x_i\, y_{i+1} - x_{i+1}\, y_i\bigr) \right|

where the indices are taken cyclically, so that (xn+1,yn+1)=(x1,y1)(x_{n+1}, y_{n+1}) = (x_1, y_1).

For example, the triangle with vertices (0,0)(0,0), (4,0)(4,0), (0,3)(0,3) has area

A=12(0040)+(4300)+(0003)=120+12+0=6.\begin{align*} A &= \tfrac{1}{2}\bigl|(0 \cdot 0 - 4 \cdot 0) + (4 \cdot 3 - 0 \cdot 0) + (0 \cdot 0 - 0 \cdot 3)\bigr| \\[3pt] &= \tfrac{1}{2}\bigl|0 + 12 + 0\bigr| \\[3pt] &= 6. \end{align*}

In air-routing applications, sector boundaries are modeled as simple polygons, and the Shoelace formula is the workhorse for computing their areas.

navigate · Enter open · Esc close · ⌘K/Ctrl K toggle