Find the intersection of two lines: Difference between revisions

Content deleted Content added
Line 1,331: Line 1,331:
stroke(255)
stroke(255)
point(x, y)
point(x, y)
println(pt) # prints x, y coordinates or 'None'</lang>
println(pt) # prints x, y coordinates or 'None'


def line_instersect(Ax1, Ay1, Ax2, Ay2, Bx1, By1, Bx2, By2):
def line_instersect(Ax1, Ay1, Ax2, Ay2, Bx1, By1, Bx2, By2):