Optimize vtkPolyData::GetCellEdgeNeighbors.
Optimize vtkPolyData::GetCellEdgeNeighbors.

Rather than search the cells containing pt1 for those
containing p2, just find the intersection of cells containing
p1 and p2. This eliminates the expensive calls to GetCellPoints,
and replaces the O(c1*s) algorithm with O(c1*c2) (worst case
scenario, c1=cells containing p1, c2=cells containing p2,
s=size of cells).

If we could sort the cells in CellLinks, this could be improved
further to O(c1+c2) (see std::set_intersection). Unfortunately,
doing so breaks vtkDecimatePro in terrible and strange ways.

Change-Id: Ieea59c5d69be4bea3c10a708f7780bc2e59636b3

jmerkow/VTK,gram526/VTK,mspark93/VTK,demarle/VTK,ashray/VTK-EVM,berendkleinhaneveld/VTK,sankhesh/VTK,SimVascular/VTK,gram526/VTK,gram526/VTK,mspark93/VTK,msmolens/VTK,jmerkow/VTK,sumedhasingla/VTK,mspark93/VTK,candy7393/VTK,keithroe/vtkoptix,hendradarwin/VTK,msmolens/VTK,mspark93/VTK,hendradarwin/VTK,johnkit/vtk-dev,ashray/VTK-EVM,jmerkow/VTK,sankhesh/VTK,candy7393/VTK,sumedhasingla/VTK,ashray/VTK-EVM,msmolens/VTK,gram526/VTK,hendradarwin/VTK,SimVascular/VTK,berendkleinhaneveld/VTK,msmolens/VTK,sankhesh/VTK,msmolens/VTK,demarle/VTK,gram526/VTK,jmerkow/VTK,hendradarwin/VTK,johnkit/vtk-dev,demarle/VTK,msmolens/VTK,sumedhasingla/VTK,jmerkow/VTK,johnkit/vtk-dev,ashray/VTK-EVM,demarle/VTK,demarle/VTK,biddisco/VTK,sankhesh/VTK,hendradarwin/VTK,candy7393/VTK,hendradarwin/VTK,sankhesh/VTK,jmerkow/VTK,ashray/VTK-EVM,mspark93/VTK,gram526/VTK,biddisco/VTK,biddisco/VTK,biddisco/VTK,ashray/VTK-EVM,sankhesh/VTK,sankhesh/VTK,keithroe/vtkoptix,SimVascular/VTK,candy7393/VTK,candy7393/VTK,johnkit/vtk-dev,jmerkow/VTK,berendkleinhaneveld/VTK,biddisco/VTK,berendkleinhaneveld/VTK,candy7393/VTK,ashray/VTK-EVM,sumedhasingla/VTK,berendkleinhaneveld/VTK,berendkleinhaneveld/VTK,keithroe/vtkoptix,mspark93/VTK,johnkit/vtk-dev,sumedhasingla/VTK,johnkit/vtk-dev,sankhesh/VTK,SimVascular/VTK,demarle/VTK,biddisco/VTK,SimVascular/VTK,biddisco/VTK,sumedhasingla/VTK,jmerkow/VTK,johnkit/vtk-dev,keithroe/vtkoptix,gram526/VTK,SimVascular/VTK,SimVascular/VTK,demarle/VTK,msmolens/VTK,keithroe/vtkoptix,gram526/VTK,SimVascular/VTK,keithroe/vtkoptix,sumedhasingla/VTK,keithroe/vtkoptix,msmolens/VTK,ashray/VTK-EVM,keithroe/vtkoptix,sumedhasingla/VTK,candy7393/VTK,hendradarwin/VTK,mspark93/VTK,mspark93/VTK,berendkleinhaneveld/VTK,candy7393/VTK,demarle/VTK