/// Copy ructor public ChConstraint(ChConstraint other) { c_i = other.c_i; g_i = other.g_i; b_i = other.b_i; l_i = other.l_i; cfm_i = other.cfm_i; valid = other.valid; disabled = other.disabled; redundant = other.redundant; broken = other.broken; mode = other.mode; }
/// Insert reference to a ChConstraint object public virtual void InsertConstraint(ChConstraint mc) { vconstraints.Add(mc); }