private void Process(QuadEdgeTriangle currTri, ITraversalVisitor visitor) { currTri.GetNeighbours(); for (int i = 0; i < 3; i++) { QuadEdgeTriangle neighTri = (QuadEdgeTriangle)currTri.GetEdge(i).Sym.Data; if (neighTri == null) { continue; } if (visitor.Visit(currTri, i, neighTri)) { _triQueue.AddLast(neighTri); } } }