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?
Asked
Active
Viewed 261 times
0
http://mathworld.wolfram.com/Ellipse-LineIntersection.html
work well but only for an ellipse that is placed at 0,0 and also if a line is passing through the center. What I was looking for was a more general equations for the intersection, for a generic ellipse centered everywhere and arbitrarily rotated and for a generic line not passing through 0,0.
– ilbiffi Sep 04 '14 at 11:38http://i58.tinypic.com/10how40.gif
and resolving for x this is the result
http://i62.tinypic.com/15qw704.png
which is nice.
Then I took the equation of a rotated and translated ellipse
http://i57.tinypic.com/vngnwi.png
and this is the result
http://i58.tinypic.com/2rnzx1h.png http://i57.tinypic.com/6p5bat.png
Which is obviously impractical, can anyone suggest a different method?
– ilbiffi Sep 05 '14 at 19:40