Diffraction of an inhomogeneous plane wave by a wedge