Example #1
0
        public static void removeConstraint(AbstractConstraint c)
        {
            int cpos = constraints.IndexOf(c);

            if (cpos == -1)
            {
                return;
            }
            // constraints.Remove(cpos)
            constraints.RemoveAt(cpos);
        }
Example #2
0
 public static void addConstraint(AbstractConstraint c)
 {
     constraints.Add(c);
 }