Complex Billiard Hamiltonian Systems and Nonlinear Waves