public final class HeadwayStopLine extends AbstractHeadwayCopy
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)
Construct a new HeadwayStopLine.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
equals, getAcceleration, getId, getLength, getObjectType, getSpeed, hashCodegetDistance, getOverlap, getOverlapFront, getOverlapRear, isAhead, isBehind, isParallelpublic HeadwayStopLine(String id, Length distance) 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.GTUException - when id is null, or parameters are inconsistentpublic String toString()
toString in class AbstractHeadwayCopyright © 2014–2019 Delft University of Technology. All rights reserved.