protected Generic6DofConstraintDefinition(LoadInfo info) : base(info) { translationMotor = info.GetValue <TranslationalLimitMotorDefinition>("TranslationMotor"); xRotMotor = info.GetValue <RotationalLimitMotorDefinition>("XRotMotor"); yRotMotor = info.GetValue <RotationalLimitMotorDefinition>("YRotMotor"); zRotMotor = info.GetValue <RotationalLimitMotorDefinition>("ZRotMotor"); }
public Generic6DofConstraintDefinition(String name) : base(name) { translationMotor = new TranslationalLimitMotorDefinition(); xRotMotor = new RotationalLimitMotorDefinition(); yRotMotor = new RotationalLimitMotorDefinition(); zRotMotor = new RotationalLimitMotorDefinition(); }