drawvec clean_polygon(drawvec const &geom, int z, int detail);