High-frequency scattering from the edges of impedance discontinuities on a flat plane