Quadrilateral layout generation and optimization using equivalence classes of integral curves: theory and application to surfaces with boundaries. (13th April 2022)