The two straight line approach for periodic diffraction boundary-value problems