title: Numpy and line intersections
body: <p>How would I use numpy to calculate the intersection between two line segments?</p>
  <p>In the code I have <code>segment1 = ((x1,y1),(x2,y2))</code> and <code>segment2 = ((x1,y1),(x2,y2))</code>.  Note <code>segment1</code> does not equal <code>segment2</code>.  So in my code I've also been calculating the slope and y-intercept, it would be nice if that could be avoided but I don't know of a way how.</p>
  <p>I've been using Cramer's rule with a function I wrote up in Python but I'd like to find a faster way of doing this.</p>