ellipse and segment intersection

262 Views Asked by At

I have a rotated ellipse, not centered at the origin, defined by $x,y,a,b$ and angle. Then I have a segment defined by two points $x_1$, $y_1$ and $x_2$, $y_2$. Is there a quick way to find the intersection points?