title: Algorithm to convert vertices of a triangular strip to polygon
body: <p>I have an array with vertices representing a triangular strip. 
  I need to convert it into polygon.
  There are many solution to do the reverse, but I failed to find one for the above problem.
  Or it could be too easy and I just cannot see it.
  Please help.</p>
  
  <p>OpenGL=compatible, see 
  <a href="http://en.wikipedia.org/wiki/Triangle_strip" rel="noreferrer">http://en.wikipedia.org/wiki/Triangle_strip</a></p>
  
  <p>Example:
  for this strip <a href="http://en.wikipedia.org/wiki/File:Triangle_Strip_Small.png" rel="noreferrer">http://en.wikipedia.org/wiki/File:Triangle_Strip_Small.png</a>
  I need output A B D F E C or A C E F D B</p>