rayoptics.util.line_intersection module

line(p1, p2)[source]
intersection(L1, L2)[source]
get_intersect(a1, a2, b1, b2)[source]

Returns the point of intersection of the lines passing through a2,a1 and b2,b1. a1: [x, y] a point on the first line a2: [x, y] another point on the first line b1: [x, y] a point on the second line b2: [x, y] another point on the second line

do_intersect(a1, a2, b1, b2, soln, delta)[source]
intersect_with_3lines(pt, wht, bg, gr, rb)[source]