Source: https://perso.telecom-paristech.fr/bloch/TDI/poly_contours.pdf