from pygeo import * v=display(scale=70) p1 = FreePoint(-33.,-33,-3,color=WHITE) p2 = FreePoint(-23,33,4,color=WHITE) line=Line(p1,p2,color=BLUE) pointarray=PointArray(line,color=BLUE,seg=True) point = FreePoint(20.,43,0,color=WHITE) LineMap(pointarray,point,color=RED) v.pickloop()