public static class LaneChangeUrgeGTUColorer.LaneChangeDistanceAndDirection extends Object
| Modifier and Type | Field and Description |
|---|---|
DoubleScalar.Rel<LengthUnit> |
distance
The distance available to complete the next required lane change.
|
Boolean |
left
The lateral direction of the next required lane change is left (if this field is true); right (if this field is
false); none (if this field is null)
|
| Constructor and Description |
|---|
LaneChangeDistanceAndDirection(DoubleScalar.Rel<LengthUnit> distance,
Boolean left)
Construct a new LaneChangeDistanceAndDirection object.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Rel<LengthUnit> |
getDistance()
Retrieve the distance available to complete the next required lane change.
|
Boolean |
getLeft()
Retrieve the lateral direction of the next required lane change.
|
String |
toString() |
public final DoubleScalar.Rel<LengthUnit> distance
public final Boolean left
public LaneChangeDistanceAndDirection(DoubleScalar.Rel<LengthUnit> distance, Boolean left)
distance - DoubleScalar.Abs<LengthUnit>; the distance available for performing a lane changeleft - Boolean; if true the lane change to perform is to the left; if false, the lane change to perform is to
the right; if null, no lane change is needed, or possiblepublic final DoubleScalar.Rel<LengthUnit> getDistance()
public final Boolean getLeft()
Copyright © 2014–2015 Delft University of Technology. All rights reserved.