Source: http://ressources.sti2d.free.fr/fichiers/TD_algorithme_corrige.pdf