For a refractive surface, calculates the refraction angle as a function of the incidence angle and the refraction indexes (of the first and second medium).