  The Fermat principle is used to define trajectories in nonhomogenous optical
media. The Poincare model of the Lobachevskii geometry is derived. The index of
refraction is determined for the light confined in the circular trajectory in
the optical medium.
