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