public int AddMultipointConstraint(MultipointConstraint mpc) { MultipointConstraints.Add(mpc); int index = MultipointConstraints.Count - 1; return(index); }
public int AddMultipointConstraint(uint quantityId, MultipointConstraint mpc) { int index = Quantitys[(int)quantityId].AddMultipointConstraint(mpc); return(index); }