Polyhedron.to_vertices_and_faces
- Polyhedron.to_vertices_and_faces(triangulated=False)[source]
Returns a list of vertices and faces.
- Parameters
triangulated (bool, optional) – Flag indicating that the faces have to be triangulated.
- Returns
(vertices, faces) – A list of vertex locations and a list of faces, with each face defined as a list of indices into the list of vertices.