Ask Your Question

Revision history [back]

Use P.vertices_list() to obtain a list of vertices of the polyhedron, and P.vertex_generator() to conveniently iterate over them.

Use Hint: use tab-completion, P.vert[TAB].


The method P.vertices_list() to obtain returns a list of vertices of the polyhedron, and P.vertex_generator() allows to conveniently iterate over them.