It follows that the optical path length between any two orthogonal surfaces (wave-fronts) is the same for all rays. This result clearly remains valid when several successive refractions or reflections takes place and, as is immediately obvious from eq. (26) in 3.1 it also applies to rays in a medium with continuously varying refractive index.