def équation_cercle_diamètre(A,B): def test(M): return sont_orthogonaux(vecteur(A,M),vecteur(B,M)) return test