Uniform stresses inside a non-elliptical inhomogeneity and a nearby half-plane with locally wavy interface