Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| user_guide:tutorials:voronoi [2019/01/25 09:38] – ↷ Page moved from user_guide:voronoi to user_guide:tutorials:voronoi oroehrig | user_guide:tutorials:voronoi [2019/02/04 22:55] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Voronoi Diagrams ====== | + | {{page>.: |
| - | + | ||
| - | Voronoi diagrams are constructed from their sites (given in homogeneous coordinates). | + | |
| - | <code> | + | |
| - | polytope > $VD = new VoronoiDiagram(SITES=> | + | |
| - | polytope > $VD-> | + | |
| - | </ | + | |
| - | + | ||
| - | Actually, via lifting to the standard paraboloid, Voronoi diagrams are derived from '' | + | |
| - | + | ||
| - | < | + | |
| - | polytope > print $VD-> | + | |
| - | 2 -2 -2 1 | + | |
| - | 1 0 -2 1 | + | |
| - | 2 2 -2 1 | + | |
| - | 2 -2 2 1 | + | |
| - | 1 0 2 1 | + | |
| - | 2 2 2 1 | + | |
| - | 1 0 0 0 | + | |
| - | + | ||
| - | polytope > print $VD-> | + | |
| - | 0 0 1 2 | + | |
| - | 0 1 0 2 | + | |
| - | 1 1/2 0 -1 | + | |
| - | 0 -1 0 2 | + | |
| - | 0 0 -1 2 | + | |
| - | 1 -1/2 0 -1 | + | |
| - | </ | + | |