A GENERALIZED APPROACH TO THE MECHANICS OF THREE-DIMENSIONAL NONLINEAR OCEAN WAVES