I have 2 ellipses, say $e_1$ and $e_2$.
I want to draw a line $l$ connecting $e_1$ and $e_2$ in a known direction $(u,v)$, with a known distance $d$.
Is there a way to solve for the points of intersection of $l$ on both $e_1$ and $e_2$? I am implementing this in software and the only way I have thought of is testing every point on $e_1$, but was thinking if there is an analytical way.
We can use Lagrange's multipliers with 2 constraints( the two equations for the ellipses) and the minimized function.