Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

multiplication of a polytope

I answering to my question tmonteil gives me the very nice code

D = polytopes.dodecahedron()
M = matrix([[0,1,0],[0,0,1]])
(M * D).plot()

which do so simply what I was expecting. But as I am curious, I would like to know what is the internal representation of the polyhedra wich permit such product. Hope this is not a too stupid question with a self evident answer.

A second question is : how to translate D in the 3D space ?