/// Copy constructor public ChConstraintTwoGeneric(ChConstraintTwoGeneric other) { // Cq_a = Cq_b = Eq_a = Eq_b = null; // if (other.Cq_a != null) Cq_a = new ChMatrixDynamic <double>(other.Cq_a); // if (other.Cq_b != null) Cq_b = new ChMatrixDynamic <double>(other.Cq_b); // if (other.Eq_a != null) Eq_a = new ChMatrixDynamic <double>(other.Eq_a); // if (other.Eq_b != null) Eq_b = new ChMatrixDynamic <double>(other.Eq_b); }