Mirror of PyPolyhedron by Pearu Peterson from http://cens.ioc.ee/projects/polyhedron/