If integrals are used instead of interpolating polynomials, increments in the integrand can be used to guide the curve followed by an indefinite integral. A readily visualized process is to use increments of constant direction to create a straight line, varying the direction from time to time to outline a polygon. Doing the same by interpolation would mean assigning vertices to the data points, without the assurance of their being connected adequately by intermediate values.
Increments of constant direction are best gotten by taking real increments and multiplying them by an overall phase factor. The real axis could contribute the increments, relying upon roots to contribute the phase factors; the minus in a square root for a reversal of direction, a cube root for a shift, a fourth root to make a square corner, and so on. The roots should be negative fractional powers to give finite integrals, leaving the question of their placement along the real axis as one to be resolved. It is desirable that the terms vanish strongly enough at infinity that an excursion along the whole real axis produces a closed polygon.
Consider the derivative defined by
This whole process is called a Schwartz-Christoffel transformation. To map one polygon to another, consider inverting the procedure, sending the first polygon to the real axis. Composing the inverse with the mapping of the real axis to the second polygon makes the transition directly.