Method | Description | |
---|---|---|
PrecedingVehicleState ( double location, double distance, |
Creates a new instance of this class.
|
public PrecedingVehicleState ( double location, double distance, |
||
location | double | Gets the location of the back of the preceding train, in meters. |
distance | double | The distance from the front of the current train to the back of the preceding train, in meters. |
speed | Gets the speed of the preceding train. | |
return | System |