Certain matrices can be used to transform both polygons and polyhedra in 3-D space. You can find the coordinates of each vertex of a rectangular prism by being given two points from opposite corners, since matrices can transform 3-D figures where each face is a polygon. Matrices can likewise transform polyhedra.