I would recommend using Rationals rather than Reals. It's much more
difficult to rigorously check for intersection when using floating
point numbers.

>>> l1=Line(Point(2, 2), Point(0, 10))
>>> l2=Line(Point(0, 1), Point(8, 3))
>>> l1.intersection(l2)
[Point(Rational(36, 17), Rational(26, 17))]

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to