Source: http://maths.vivien.free.fr/documents/Cours/chapitre6G3-Triangles_quadrilateres.pdf