Ejemplo n.º 1
0
        public override void RemoveSelected()
        {
            List <int> removeList = new List <int>();

            for (int i = 0; i < mPointList.Count; i++)
            {
                if (mPointList[i].Selected)
                {
                    mHeModel.RemoveVertexRelationFace(i);
                    removeList.Add(i);
                }
            }

            if (mHeModel.FaceStore.Count == 0)
            {
                mHeModel.Clear();
                return;
            }

            mHeModel.RemoveVertexs(removeList);
        }