A device for forming at least one tilted focused beam (33 4 ) in a near-field zone, from an electromagnetic wave incident on said device, said device being characterized in that it comprises at least one layer of dielectric material comprising at least partially at least one cavity , said at least one cavity being filled in with a medium having a first refractive index lower than a second refractive index of said dielectric material , wherein said at least one cavity is approximately cylindrical or cone-shaped and comprises at least one base surface , defined with respect to an arrival direction of said electromagnetic wave, and at least one lateral surface , wherein said at least one base surface is delineated by a base edge line that has a shape of a crescent moon, said base edge line comprising a concave base edge line segment (322 4 ) and a convex base edge line segment (322 1 -322 3 ), wherein one or more of a shape of said base edge line, an orientation of said at least one cavity, and associated base angles between said at least one base surface and said at least one lateral surface control an azimuth angle of said at least one tilted focused beam (33 4 ), the azimuth angle defined by an angular position of a projection of said at least one tilted focused beam on a plane orthogonal to said arrival direction of said electromagnetic wave and comprising at least part of said at least one base surface, and wherein said at least one tilted focused beam is formed as a result of a recombination of nanojet beams originating from different portions of said concave base edge line segment, and wherein a direction of said at least one tilted focused beam is different from a direction of said incident electromagnetic wave. said device being characterized in that it comprises at least one layer of dielectric material comprising at least partially at least one cavity , said at least one cavity being filled in with a medium having a first refractive index lower than a second refractive index of said dielectric material , wherein said at least one cavity is approximately cylindrical or cone-shaped and comprises at least one base surface , defined with respect to an arrival direction of said electromagnetic wave, and at least one lateral surface , wherein said at least one base surface is delineated by a base edge line that has a shape of a crescent moon, said base edge line comprising a concave base edge line segment (322 4 ) and a convex base edge line segment (322 1 -322 3 ), wherein one or more of a shape of said base edge line, an orientation of said at least one cavity, and associated base angles between said at least one base surface and said at least one lateral surface control an azimuth angle of said at least one tilted focused beam (33 4 ), the azimuth angle defined by an angular position of a projection of said at least one tilted focused beam on a plane orthogonal to said arrival direction of said electromagnetic wave and comprising at least part of said at least one base surface, and wherein said at least one tilted focused beam is formed as a result of a recombination of nanojet beams originating from different portions of said concave base edge line segment, and wherein a direction of said at least one tilted focused beam is different from a direction of said incident electromagnetic wave. <EOS>