NODEID - the ID type of the Node, e.g., String.LINKID - the ID type of the Link, e.g., String.public class SinkLane<LINKID,NODEID> extends Lane<LINKID,NODEID>
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2015-07-26 22:05:02 +0200 (Sun, 26 Jul 2015) $, @version $Revision: 1156 $, by $Author: averbraeck $,
initial version Jan 30, 2015
beginWidth, designLineOffsetAtBegin, designLineOffsetAtEnd, endWidth, length, parentLink| Constructor and Description |
|---|
SinkLane(CrossSectionLink<LINKID,NODEID> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> beginWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<SpeedUnit> speedLimit)
Construct a SinkLane.
|
accessibleAdjacentLanes, addAccessibleAdjacentLane, addGTU, addGTU, addSampler, addSensor, bestAccessibleAdjacentLane, fraction, fractionSI, getCapacity, getDirectionality, getGtuAfter, getGtuBefore, getGtuList, getLaneType, getSensors, getSensors, getSpeedLimit, getZ, nextLanes, position, positionSI, prevLanes, removeAccessibleAdjacentLane, removeGTU, removeSampler, removeSensor, sample, scheduleTriggers, setCapacity, toStringgetBeginWidth, getBounds, getCenterLine, getContour, getDesignLineOffsetAtBegin, getDesignLineOffsetAtEnd, getEndWidth, getLateralBoundaryPosition, getLateralBoundaryPosition, getLateralCenterPosition, getLateralCenterPosition, getLength, getLocation, getParentLink, getWidth, getWidthpublic SinkLane(CrossSectionLink<LINKID,NODEID> parentLink, DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart, DoubleScalar.Rel<LengthUnit> beginWidth, LaneType<?> laneType, LongitudinalDirectionality directionality, DoubleScalar.Abs<SpeedUnit> speedLimit) throws NetworkException, OTSGeometryException
parentLink - Cross Section Link to which the element belongs.lateralOffsetAtStart - DoubleScalar.Rel<LengthUnit>; the lateral offset of the design line of the new
CrossSectionLink with respect to the design line of the parent Link at the start of the parent LinkbeginWidth - DoubleScalar.Rel<LengthUnit>; start width, positioned symmetrically around the design linelaneType - type of lane to deduce compatibility with GTU typesdirectionality - in direction of geometry, reverse, or bothspeedLimit - DoubleScalar.Abs<SpeedUnit>; the speed limit on the new SinkLaneNetworkException - when sink sensor cannot be added to the laneOTSGeometryException - when creation of the center line or contour geometry failsCopyright © 2014–2015 Delft University of Technology. All rights reserved.