#include <Axle.h>
Public Member Functions | |
Axle () | |
Axle (int i, double t, double v, double x, double w, int dirn) | |
virtual | ~Axle () |
double | getWeight () |
double | getSpacing () |
void | setWeight (double w) |
void | setSpacing (double space) |
void | UpdatePosition (double time) |
Private Attributes | |
double | spacing |
The space to the next axle. | |
double | weight |
The weight of this axle. |
Definition at line 8 of file Axle.h.
Axle::Axle | ( | ) |
Axle::Axle | ( | int | i, | |
double | t, | |||
double | v, | |||
double | x, | |||
double | w, | |||
int | dirn | |||
) |
double Axle::getWeight | ( | ) |
double Axle::getSpacing | ( | ) |
void Axle::setWeight | ( | double | w | ) |
void Axle::setSpacing | ( | double | space | ) |
void Axle::UpdatePosition | ( | double | time | ) |
double Axle::spacing [private] |
The space to the next axle.
Definition at line 26 of file Axle.h.
Referenced by getSpacing(), and setSpacing().
double Axle::weight [private] |
The weight of this axle.
Definition at line 28 of file Axle.h.
Referenced by getWeight(), and setWeight().