Re: [sympy] Possible bug in Plane/Segment3D intersection

2015-06-22 Thread Jason Moore
Please send a PR and make sure to include a unit test that checks for the fixed bug. You can probably use the code you pasted above for the unit test. Jason moorepants.info +01 530-601-9791 On Mon, Jun 22, 2015 at 4:25 PM, Carson Farmer wrote: > The following does not seem correct (in that p.i

[sympy] Possible bug in Plane/Segment3D intersection

2015-06-22 Thread Carson Farmer
The following does not seem correct (in that p.intersection(s) should return an empty list but it doesn't): from simply.geometry import Plane, Segment3D, Point3D p = Plane(Point3D(0, 0, 1), Point3D(1, 0, 1), Point3D(0, 1, 1)) s = Segment3D(Point3D(.5, .5, 0), Point3D(.5, .5, .5)) i = p.intersecti