I just fixed the bug which is in sympy\geometry\line3d.py:
def intersection(self, o):
...
elif isinstance(o, LinearEntity3D):
a = self.direction_cosine
b = o.direction_cosine
a = [abs(i) for i in a]
b = [abs(i) for i in b]
That's a bug.
On Tuesday, November 25, 2014 7:58:16 AM UTC-6, zxo102 wrote:
>
> Hi there,
> In sympy0.7.6 and python3.4, I would like find a intersection point for
> two 3D lines but failed at the following 3D case.
>
> 2D case:
>
> >>> from sympy import Line, Point
> >>> l1 = Line(Point(4,0