Comment #3 on issue 2360 by [email protected]: Bug in geometry intersection
http://code.google.com/p/sympy/issues/detail?id=2360
The problem appears to be line 1375 in line.py. This is in the __contains__ method of the class Segment. There is a problem determining if a symbolic point is contained within a line segment.
I'm not really familiar with sympy's simplification techniques. The following shouldn't print False? from sympy import Point, Segment, simplify from sympy.abc import a, b, c p0 = Point(0, 0) p1 = Point(a/2 + c/2, b/2) p2 = Point(a/3 + c/3, b/3) s1 = Segment(p0, p1) print p2 in s1 -- You received this message because you are subscribed to the Google Groups "sympy-issues" 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-issues?hl=en.
