Transverse diffraction of nonlinear waves: a covariant formulation