A method for designing reflective and refractive surfaces that perform
general transformations on two-dimensional beams is presented. In som
e cases the shape of the surfaces is represented by a simple integral
of an analytic expression, whereas in other specific cases it is repre
sented as a solution of a Poisson-like equation. Finally, the possible
use of noncontinuous surfaces (facets) is discussed and evaluated qua
ntitatively. Some of the novel techniques developed are also applicabl
e for beam transformations that are realized with diffractive systems.