Trax3 3.1.0
trax track library
Loading...
Searching...
No Matches
trax::Bogie::CouplingProps Struct Reference

Describing data of a coupling. More...

#include <C:/Trend/Development/Trax3/Code/trax/rigid/trains/Bogie.h>

Public Types

enum  BreakingType { onNever , onForceLimitReached , onMomentumConsumed , onMomentumConsumedWithRecuperation }

Public Attributes

enum trax::Bogie::CouplingProps::BreakingType Type = onNever
 The type of the breaking condition.
spat::Sphere< LengthPosition = { spat::Origin3D<Length>, 0.5_m }
 Position and trigger radius of the coupling relative to the bogie's body frame.
Force BreakingForce = infinite__force
 Breaking force of the coupling. infinite for unbreakable.
Momentum BreakingSpareMomentum = 0_Ns
 Breaking momentum of the coupling to be consumed, before the coupling breaks.
Force RecuperationForce = 0_N
 Force to recuperate the spare momentum of the coupling.
int CouplingTypeIdx = 0
 Index of the coupling type. Only coupling with same index greater 0 can be coupled.

Detailed Description

Describing data of a coupling.

Member Enumeration Documentation

◆ BreakingType

Enumerator
onNever 

The coupling never breaks.

onForceLimitReached 

The coupling breaks if the force limit is reached.

onMomentumConsumed 

The coupling breaks if the momentum is consumed.

onMomentumConsumedWithRecuperation 

The coupling breaks if the momentum is consumed, but the momentum can be recuperated.


The documentation for this struct was generated from the following file:
  • C:/Trend/Development/Trax3/Code/trax/rigid/trains/Bogie.h