Curved waveguide