Example #1
0
            public void Execute(VVert v0, VVert v1, Op op)
            {
                if (op == Op.Restart)
                {
                    m_Selection.Clear();
                    op = Op.Add;
                }

                if (op == Op.Add)
                {
                    m_Selection.AddVVert(v0);
                    m_Selection.AddVVert(v1);
                }
                else
                {
                    m_Selection.DelVVert(v0);
                    m_Selection.DelVVert(v1);
                }

                m_EdgeSet.Add(v0.GetVEdge(v1));
                _WalkSelect(v0, v1, op);
                _WalkSelect(v1, v0, op);
                m_EdgeSet.Clear();
            }