public class SourceLane extends Lane
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
SourceLane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> beginWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality)
Construct a GeneratorLane.
|
accessibleAdjacentLanes, addAccessibleAdjacentLane, addGTU, addGTU, addSampler, addSensor, bestAccessibleAdjacentLane, fraction, fractionSI, getCapacity, getDirectionality, getGtuAfter, getGtuBefore, getGtuList, getLaneType, getSensors, getSensors, getZ, nextLanes, position, positionSI, prevLanes, removeAccessibleAdjacentLane, removeGTU, removeSampler, removeSensor, sample, scheduleTriggers, setCapacity, toString
getBounds, getCenterLine, getContour, getLateralBoundaryPosition, getLateralBoundaryPosition, getLateralCenterPosition, getLateralCenterPosition, getLength, getLocation, getParentLink, getWidth, getWidth, printCoordinate, printCoordinates, printCoordinates, printCoordinates, printCoordinates
public SourceLane(CrossSectionLink<?,?> parentLink, DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart, DoubleScalar.Rel<LengthUnit> beginWidth, LaneType<?> laneType, LongitudinalDirectionality directionality) throws NetworkException
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 bothNetworkException
- when creation of the geometry failsCopyright © 2014–2015 Delft University of Technology. All rights reserved.