from pygeo import * v=display(scale=70) p1 = FreePoint(-33.,-33,-3,pointsize=1.5,color=WHITE) p2 = FreePoint(-23,33,4,pointsize=1.5,color=WHITE) line=Line(p1,p2,color=BLUE) p3 = FreePoint(-3.,-3,0,pointsize=1.5,color=BLUE) p4 = FreePoint(20.,43,0,pointsize=1.5,color=BLUE) LineCut(line,p3,p4,pointsize=1.5,color=RED) line=Line(p3,p4,color=WHITE,seg=True) v.pickloop()