Edge-wave diffraction for flat-plate structures