title: Can anyone suggest a quick triangle detection algorithm?
body: <p>I have some data in the form of Line objects (eg Line1(start, end), where start and end are coordinates in the form of point objects). Is there a quick way to go through all the lines to see if any of them form a triangle? By quick I mean anything better than going through all nC3 possibilities. </p>
  
  <p>Edit: Just realised I may not understand all the replies (I'm no Adrian Lamo). Please try and explain wrt Python. </p>