"Source: Text/Geometry/Polyhedra.text";
"Line: 2708";
"Date: Mon Aug 27 15:44:26 2018";
"Main: Thu May 25 10:02:38 2023";
// original file: Text/Geometry/Polyhedra.text, line: 2708
// Example: H152E21 ()
print "Example: H152E21";
ei := GetEchoInput();
SetEchoInput(true);
P:=Polytope([
    [ 1, 0, -1 ],
    [ 0, 0, 1 ],
    [ 0, -1, 3 ],
    [ -1, 1, 0 ],
    [ 0, 0, -1 ]
]);
width,ws:=Width(P);
width;
assert $1 eq 2;
phi:=ChangeBasis(Representative(ws));
Q:=Image(phi,P);
Q;
w:=Dual(Ambient(Q)).3;
[w * v : v in Vertices(Q)];
Polyhedron(Q,w,-1);
Polyhedron(Q,w,0);
Polyhedron(Q,w,1);
SetEchoInput(ei);
