class_docstr: Constrained delaunay triangulation
  
  Implementation based on [1]_.
  
  Parameters
  ----------
  pts : array
      Nx2 array of points.
  edges : array
      Nx2 array of edges (dtype=int).
  
  Notes
  -----
  * Delaunay legalization is not yet implemented. This produces a proper
    triangulation, but adding legalisation would produce fewer thin
    triangles.
  * The pts and edges arrays may be modified.
  
  References
  ----------
  .. [1] Domiter, V. and Žalik, B. Sweep‐line algorithm for constrained
     Delaunay triangulation
class_docstr_tok: ["Constrained","delaunay","triangulation","Implementation","based","on","[","1","]","_.","Parameters","--","--","--","--","--","pts",":","array","Nx2","array","of","points",".","edges",":","array","Nx2","array","of","edges","(","dtype=int",")",".","Notes","--","--","-","*","Delaunay","legalization","is","not","yet","implemented",".","This","produces","a","proper","triangulation",",","but","adding","legalisation","would","produce","fewer","thin","triangles",".","*","The","pts","and","edges","arrays","may","be","modified",".","References","--","--","--","--","--","..","[","1","]","Domiter",",","V.","and","\u017dalik",",","B.","Sweep\u2010line","algorithm","for","constrained","Delaunay","triangulation"]
docstr: Given a triangle, return the edge that is opposite point i.
  
  Vertexes are returned in the same orientation as in tri.
docstr_tok: ["Given","a","triangle",",","return","the","edge","that","is","opposite","point","i.","Vertexes","are","returned","in","the","same","orientation","as","in","tri","."]
code: def _edge_opposite_point(self, tri, i):
      """Given a triangle, return the edge that is opposite point i.
  
      Vertexes are returned in the same orientation as in tri.
      """
      ind = tri.index(i)
      return (tri[(ind + 1) % 3], tri[(ind + 2) % 3])
  
imports: from __future__ import division, print_function
  from itertools import permutations
  import numpy
  from collections import OrderedDict
label_desc: Use image node_id 9 for calling the Triangulation obj's underlying member method code with example usage: obj._edge_opposite_point(tri, i) and returns: tri,  tri