public final class HeadwayStopLine extends AbstractHeadwayLaneBasedObject
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Headway.ObjectType| Constructor and Description |
|---|
HeadwayStopLine(String id,
Length distance,
Lane lane)
Construct a new HeadwayStopLine.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
getLaneequals, getAcceleration, getId, getLength, getObjectType, getSpeed, hashCodegetDistance, getOverlap, getOverlapFront, getOverlapRear, isAhead, isBehind, isParallelclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTo, getAcceleration, getDistance, getId, getLength, getObjectType, getOverlap, getOverlapFront, getOverlapRear, getSpeed, isAhead, isBehind, isParallelpublic HeadwayStopLine(String id, Length distance, Lane lane) throws GTUException
id - String; the id of the object for comparison purposes, can not be null.distance - the distance to the other object; if this constructor is used, distance cannot be null.lane - Lane; laneGTUException - when id is null, or parameters are inconsistentpublic String toString()
toString in class AbstractHeadwayCopyright © 2014–2019 Delft University of Technology. All rights reserved.