Source: https://perso.univ-rennes1.fr/sean.mcnamara/AppMath2/2.4_cylindriques_spheriques.pdf