Theory of edge diffraction in terms of dynamic ray tracing