title: Most common way to compute line line intersection C++?
body: <p>Seems <a href="https://stackoverflow.com/questions/34133160/lines-intersection-using-boost-geometry">there is no way to compute line line intersection using <code>boost::geometry</code></a>, but I wonder what is the most common way to do it in C++?</p>
  
  <p>I need intersection algorithms for two infinite lines in 2D, if it will be faster it can be two different functions like:</p>
  
  <pre><code>bool line_intersection(line,line);
  point line_intersetion(line,line);
  </code></pre>
  
  <p>P.S. I really try to avoid a wheel invention, so incline to use some library.</p>