"Source: Text/Geometry/Polyhedra.text";
"Line: 2708";
"Date: Thu Sep 25 14:47:45 2025";
"Main: Fri Sep 26 14:29:19 2025";
// original file: Text/Geometry/Polyhedra.text, line: 2708
// Example: H156E21 ()
print "Example: H156E21";
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);
