Source: http://maths.vivien.free.fr/Documents/5e/CR5_triangles.pdf