Analysis of figure-8-undulator radiation