I have a 3d figure in xyz Cartesian axis. The figure is already represented as a sequence of 2d polygons in xy plane for each integer z coordinate