Ray-optics analysis of inhomogeneous optically anisotropic media door