QT Question (general math really): How can I tell if an Ellipse and a Line have an intersection?

Posted by asdsa on Stack Overflow See other posts from Stack Overflow or by asdsa
Published on 2010-06-09T02:11:07Z Indexed on 2010/06/09 2:12 UTC
Read the original article Hit count: 152

Filed under:
|
|
|

The ellipse is actually a circle. I know all the coordinates of both things, I just need to know whether or not a line goes through an ellipse.

Is this built in anywhere? SPecifically I am using QGraphicsEllipseIem and QLine but i can convert them to any other type

thanks

© Stack Overflow or respective owner

Related posts about qt

Related posts about math