public class InfrastructureLaneChangeInfoToledo extends InfrastructureLaneChangeInfo implements Serializable
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
InfrastructureLaneChangeInfoToledo(int requiredNumberOfLaneChanges,
org.djunits.value.vdouble.scalar.Length remainingDistance) |
InfrastructureLaneChangeInfoToledo(int requiredNumberOfLaneChanges,
org.djunits.value.vdouble.scalar.Length remainingDistance,
int splitNumber) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
forSplit()
Returns whether this information regards a split in the road.
|
int |
getSplitNumber()
Returns the split number.
|
String |
toString() |
compareTo, getRemainingDistance, getRequiredNumberOfLaneChangespublic InfrastructureLaneChangeInfoToledo(int requiredNumberOfLaneChanges,
org.djunits.value.vdouble.scalar.Length remainingDistance)
requiredNumberOfLaneChanges - number of lane changesremainingDistance - remaining distancepublic InfrastructureLaneChangeInfoToledo(int requiredNumberOfLaneChanges,
org.djunits.value.vdouble.scalar.Length remainingDistance,
int splitNumber)
throws org.opentrafficsim.core.gtu.GTUException
requiredNumberOfLaneChanges - number of lane changesremainingDistance - remaining distancesplitNumber - number of the split along the roadorg.opentrafficsim.core.gtu.GTUException - if the split number is below 1public final boolean forSplit()
public final int getSplitNumber()
public final String toString()
toString in class InfrastructureLaneChangeInfoCopyright © 2014–2016 Delft University of Technology. All rights reserved.