Source: https://le-castillon.etab.ac-caen.fr/IMG/pdf/Coordonnees_du_milieu_d_un_segment_-_Cours.pdf