bool GSpringDamperJoint::setSpring(RMatrix K_) { if ( K_.RowSize() * K_.ColSize() != pJoint->getDOF() ) return false; return setSpring(K_.GetPtr()); }
bool GSpringDamperJoint::setDamper(RMatrix C_) { if ( C_.RowSize() * C_.ColSize() != pJoint->getDOF() ) return false; return setDamper(C_.GetPtr()); }
bool GSpringDamperJoint::setNeutralPosition(RMatrix q_neutral_) { if ( q_neutral_.RowSize() * q_neutral_.ColSize() != pJoint->getDOF() ) return false; return setNeutralPosition(q_neutral_.GetPtr()); }