A General Approach to Lifting-Line Theory, Applied to Wings With Sweep