title: How to get vertex index from Subdiv2D Delaunay triangulation
body: <p>I am using OpenCV 3.1 and want to know how to get the <strong>vertex index</strong> of an edge in Subdiv2D Delaunay triangulation, not only the <strong>vertex coordinates</strong>?
  I want to use this index to keep the vertex value for further interpolation.</p>
  
  <p>For example:</p>
  
  <pre class="lang-cpp prettyprint-override"><code>cv::Subdiv2D subdiv(rect);
  // Insert some points to subdiv....
  cv::Point2f org, dst;
  subdiv.edgeOrg(edge, &amp;org); // starting point of edge
  </code></pre>
  
  <p>This gives me only the coordinates of the vertex in <code>org</code>.</p>
  
  <p>I've seen that in OpenCV 2.4, we could use the <a href="http://docs.opencv.org/2.4/modules/legacy/doc/planar_subdivisions.html#cvsubdiv2dpoint" rel="nofollow"><code>CvSubdiv2DPoint</code></a> type, which held the id in addition to the standard <code>Point32f</code>.
  In OpenCV 3.1, I can't find this struct and it looks like it had been removed for some reason.</p>