Source: http://math.univ-lyon1.fr/irem/IMG/pdf/seance_3_polygones.pdf