latticePoints can only be applied to polytopes, i.e. compact polyhedra. It embeds the polytope on height 1 in a space of dimension plus 1 and takes the Cone over this polytope. Then it projects the elements of height 1 of the Hilbert basis back again.
P = crossPolytope 3 |
latticePoints P |
Q = cyclicPolytope(2,4) |
latticePoints Q |