private void Add(FaceDiminishment child)
        {
            if (child.Parent != null)
            {
                throw new ArgumentException("Child is already in an operation tree");
            }
            child.Parent = this;

            children.Add(child);
        }
        public FaceDiminishment(FaceDiminishment parent, FaceDevelopment development, ChangeSet changes)
        {
            Counter      = development;
            this.changes = changes;

            if (parent != null)
            {
                parent.Add(this);
            }
        }
예제 #3
0
 public FaceDevelopment(Mesh m, FaceDiminishment parent)
 {
     Parent = parent;
     Mesh   = m;
 }