Polyhedra, lattice structures, and extensions of semigroups