117 agx::Real gearRatio);
119#if !defined(SWIG) || defined(SWIGPYTHON)
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
A MultiGear is a type of gear connector that can have multiple connected shafts, each with its own ge...
virtual bool disconnect(agxPowerLine::Unit *unit) override
Disconnect the give unit from this MultiGear.
virtual bool connect(agxPowerLine::Side mySide, agxPowerLine::Side otherSide, agxPowerLine::Unit *otherUnit) override
const agxDriveTrain::Shaft * getInternalShaft() const
virtual bool connect(agxPowerLine::Unit *unit) override
Connect the given unit with a gear ratio of 1.
bool connect(agxPowerLine::Unit *unit, agx::Real gearRatio)
Connect the given unit to this MultiGear.
bool setGearRatio(agxPowerLine::Unit *unit, agx::Real gearRatio)
Change the gear ratio for the given unit.
agxDriveTrain::Shaft * getInternalShaft()
agx::Real getGearRatio(const agxPowerLine::Unit *unit) const
Returns the gear ratio with which the given unit is connected to this MultiGear.
A Shaft is the most basic PowerLine Unit.
Links two connections together.
Constraint implementation for constraining a number of physical dimensions of the same type.
Abstract base class for storing/restoring a line/drums with version control.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
A library of agxPowerLine components designed to model the various parts of a vehicle drive train.
agxPowerLine contains a collection of connected components that transport power across a system.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.