An apparatus and method are provided for manipulating light beams
propagated through PLCs in free space. Light beams propagated in through
an input/output waveguide of a PLC are propagated through a waveguide
array to generate a phased array output at an edge facet of the PLC. The
phased array output at the edge facet is spatially Fourier transformed by
a lens in free space, generating a spectrally resolved image at the back
focal plane of the lens. The spectrally resolved image is reflected, at
least in part, by a reflector device and coupled into a desired waveguide
array of a PLC to produce a desired output.