Caustics in geometrical optics