added functionality to get the vertices of the polygon which arises from projecting a cuboid to the x-y-plane