Are there any book or paper citations on how the Cartesian product of polyhedra is computed within the polyhedron base class?
1 | initial version | asked 2017-12-05 15:03:48 +0100 Anonymous |
Are there any book or paper citations on how the Cartesian product of polyhedra is computed within the polyhedron base class?
Are there any book or paper citations on how the Cartesian product of polyhedra is computed within the polyhedron base class?class? Consider the following example input:
P1 = Polyhedron(vertices = [[1,1], [2,3], [3,0]], rays = [[3,2], [5,2]])
P2 = Polyhedron(vertices = [[6,0]], rays = [[1,9], [1,3]])
ExampleP = P1.product(P2)
ExampleP.Vrepresentation()
The output is:
A ray in the direction (0, 0, 1, 3),
A ray in the direction (0, 0, 1, 9),
A vertex at (1, 1, 6, 0),
A vertex at (2, 3, 6, 0),
A vertex at (3, 0, 6, 0),
A ray in the direction (3, 2, 0, 0),
A ray in the direction (5, 2, 0, 0)