/// Copy constructor public ChConstraintTwoTuplesRollingN(ChConstraintTwoTuplesRollingN <Ta, Tb> other) : base(other) { rollingfriction = other.rollingfriction; spinningfriction = other.spinningfriction; constraint_U = other.constraint_U; constraint_V = other.constraint_V; constraint_N = other.constraint_N; }
protected ChConstraintTwoTuplesContactN <Ta, Tb> constraint_N; //< the pointer to N component /// Default constructor public ChConstraintTwoTuplesRollingN() { rollingfriction = 0; spinningfriction = 0; constraint_U = null; constraint_V = null; constraint_N = null; this.mode = eChConstraintMode.CONSTRAINT_FRIC; }
/// Set pointer to V tangential component public void SetRollingConstraintV(ChConstraintTwoTuplesRollingT <Ta, Tb> mconstr) { constraint_V = mconstr; }
/// Copy constructor public ChConstraintTwoTuplesRollingT(ChConstraintTwoTuplesRollingT <Ta, Tb> other) : base(other) { }