Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
tutorial:pcom [2011/05/07 14:33] – added comment about triangulations joswig | user_guide:tutorials:pcom [2019/01/25 09:38] – ↷ Page moved from user_guide:pcom to user_guide:tutorials:pcom oroehrig | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Polyhedral complexes are contained in the application '' | + | ==== Polyhedral complexes in polymake ==== |
+ | |||
+ | Polyhedral complexes are contained in the application '' | ||
+ | < | ||
+ | > application " | ||
+ | </ | ||
+ | To define polyhedral complexes in '' | ||
< | < | ||
fan > $pc1 = new PolyhedralComplex(POINTS=> | fan > $pc1 = new PolyhedralComplex(POINTS=> | ||
- | fan > $pc2 = new PolyhedralComplex(POINTS=> | ||
</ | </ | ||
Line 9: | Line 14: | ||
< | < | ||
- | fan > print $pc-> | + | fan > print $pc1-> |
+ | {0 1 2} | ||
+ | {2 3} | ||
</ | </ | ||
- | {{ :tutorial:pcom2.png }} | + | {{ user_guide:pcom2.png }} |
- | Triangulations of polytopes form an important special class of polytopal complexes. | + | === Triangulations === |
+ | Triangulations of polytopes form an important special class of polytopal complexes. | ||
< | < | ||
fan > $c=cube(3); | fan > $c=cube(3); | ||
fan > $triangulation=new PolyhedralComplex(VERTICES=> | fan > $triangulation=new PolyhedralComplex(VERTICES=> | ||
</ | </ | ||
- | In the future, the polytope object '' | + | === Voronoi Diagrams |
+ | There are seperate tutorials for [[voronoi|Voronoi diagrams]] and [[regular_subdivisions|regluar |