Quadratic-Time Linear-Space Algorithms for Generating Orthogonal Polygons with a Given Number of Vertices