PlanesIntersect.py
from pygeo import *
v=display(scale=70)
p1 = FreePoint(-33.,-33,-3,color=WHITE) #FreePoint
p2 = FreePoint(-51,-44,4,color=WHITE) #FreePoint
p3 = FreePoint(31,8,0,color=WHITE) #FreePoint
plane1=Plane(p1,p2,p3,color=BLUE)
p1a = FreePoint(-3.,-3,-3,color=WHITE) #FreePoint
p2a = FreePoint(-1,-4,-4,color=WHITE) #FreePoint
p3a = FreePoint(3,-8,10,color=WHITE) #FreePoint
plane2=Plane(p1a,p2a,p3a,color=BLUE)
p1b = FreePoint(13.,3,-13,color=WHITE) #FreePoint
p2b = FreePoint(-5,-4,14,color=WHITE) #FreePoint
p3b = FreePoint(-6,-8,11,color=WHITE) #FreePoint
plane3=Plane(p1b,p2b,p3b,color=BLUE)
PlanesIntersect(plane1,plane2,plane3,pointsize=1.5,color=RED)
v.pickloop()