Source: http://math.univ-lyon1.fr/homes-www/borrelli/Espace_etudiant/Pdf_Capes/L20_Probleme_alignement_parallelisme_intersection.pdf