Source: https://nguyen.univ-tln.fr/share/GeomAlgo/trans_inter.pdf