public final class HeadwayStopLine extends AbstractHeadway
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.
Headway.ObjectType
Constructor and Description |
---|
HeadwayStopLine(String id,
org.djunits.value.vdouble.scalar.Length distance)
Construct a new HeadwayStopLine.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
equals, getAcceleration, getDistance, getId, getLength, getObjectType, getOverlap, getOverlapFront, getOverlapRear, getSpeed, hashCode, isAhead, isBehind, isParallel
public HeadwayStopLine(String id, org.djunits.value.vdouble.scalar.Length distance) throws org.opentrafficsim.core.gtu.GTUException
id
- 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.org.opentrafficsim.core.gtu.GTUException
- when id is null, or parameters are inconsistentpublic String toString()
toString
in class AbstractHeadway
Copyright © 2014–2016 Delft University of Technology. All rights reserved.