LinesIntersect.py

from pygeo import *


v=display(scale=70)

p1 = FreePoint(-33.,-33,-3,color=WHITE)
p2 = FreePoint(-51,-44,4,color=WHITE)
p3 = FreePoint(40,-3,0,color=WHITE)


p4=PlaneSlider(Plane(p1,p2,p3,color=WHITE),color=WHITE)

LinesIntersect(Line(p1,p2,color=BLUE),Line(p3,p4,color=BLUE),
               color=RED,pointsize=1.5)

v.pickloop()