Пример #1
0
 /// 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;
 }
Пример #2
0
        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;
        }
Пример #3
0
 /// Set pointer to V tangential component
 public void SetRollingConstraintV(ChConstraintTwoTuplesRollingT <Ta, Tb> mconstr)
 {
     constraint_V = mconstr;
 }
Пример #4
0
 /// Copy constructor
 public ChConstraintTwoTuplesRollingT(ChConstraintTwoTuplesRollingT <Ta, Tb> other) : base(other)
 {
 }