Convert from the cylinder of the plane into a rectangle with four points in the corners

hi, I have a polygon circle, my need to convert to a rectangle that is the exact opposite of the script "Regularizeedgeloop"