1 package org.opentrafficsim.road.gtu.lane.perception.headway; 2 3 import org.djunits.value.vdouble.scalar.Length; 4 import org.opentrafficsim.core.gtu.GTUException; 5 import org.opentrafficsim.road.network.lane.Lane; 6 7 /** 8 * <p> 9 * Copyright (c) 2013-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br> 10 * BSD-style license. See <a href="http://opentrafficsim.org/docs/current/license.html">OpenTrafficSim License</a>. 11 * <p> 12 * @version $Revision$, $LastChangedDate$, by $Author$, initial version Jun 30, 2016 <br> 13 * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a> 14 * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a> 15 * @author <a href="http://www.transport.citg.tudelft.nl">Wouter Schakel</a> 16 */ 17 public final class HeadwayStopLine extends AbstractHeadwayLaneBasedObject 18 { 19 20 /** */ 21 private static final long serialVersionUID = 20160630L; 22 23 /** 24 * Construct a new HeadwayStopLine. 25 * @param id String; the id of the object for comparison purposes, can not be null. 26 * @param distance the distance to the other object; if this constructor is used, distance cannot be null. 27 * @param lane Lane; lane 28 * @throws GTUException when id is null, or parameters are inconsistent 29 */ 30 public HeadwayStopLine(final String id, final Length distance, final Lane lane) throws GTUException 31 { 32 super(ObjectType.STOPLINE, id, distance, lane); 33 } 34 35 /** {@inheritDoc} */ 36 @Override 37 public String toString() 38 { 39 return super.toString(); 40 } 41 42 }