public class NoTrafficLane extends Lane
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-09-16 19:20:07 +0200 (Wed, 16 Sep 2015) $, @version $Revision: 1405 $, by $Author: averbraeck $,
initial version Feb 28, 2015
ADJACENT_MARGIN, LATERAL_MARGIN
beginWidth, designLineOffsetAtBegin, designLineOffsetAtEnd, endWidth, length, parentLink
Constructor and Description |
---|
NoTrafficLane(CrossSectionLink parentLink,
String id,
org.djunits.value.vdouble.scalar.Length.Rel lateralOffsetAtStart,
org.djunits.value.vdouble.scalar.Length.Rel lateralOffsetAtEnd,
org.djunits.value.vdouble.scalar.Length.Rel beginWidth,
org.djunits.value.vdouble.scalar.Length.Rel endWidth) |
Modifier and Type | Method and Description |
---|---|
protected double |
getZ() |
accessibleAdjacentLanes, addDirectionality, addGTU, addGTU, addSampler, addSensor, equals, fraction, fractionSI, getDirectionality, getGtuAfter, getGtuBefore, getGtuList, getLaneType, getOvertakingConditions, getSensorMap, getSensors, getSensors, getSensors, getSpeedLimit, hashCode, nextLanes, position, positionSI, prevLanes, removeDirectionality, removeGTU, removeSampler, removeSensor, removeSpeedLimit, sample, scheduleTriggers, setSpeedLimit, toString
constructContour, getBeginWidth, getBounds, getCenterLine, getContour, getDesignLineOffsetAtBegin, getDesignLineOffsetAtEnd, getEndWidth, getId, getLateralBoundaryPosition, getLateralBoundaryPosition, getLateralCenterPosition, getLateralCenterPosition, getLength, getLocation, getParentLink, getWidth, getWidth
public NoTrafficLane(CrossSectionLink parentLink, String id, org.djunits.value.vdouble.scalar.Length.Rel lateralOffsetAtStart, org.djunits.value.vdouble.scalar.Length.Rel lateralOffsetAtEnd, org.djunits.value.vdouble.scalar.Length.Rel beginWidth, org.djunits.value.vdouble.scalar.Length.Rel endWidth) throws org.opentrafficsim.core.geometry.OTSGeometryException, org.opentrafficsim.core.network.NetworkException
parentLink
- Cross Section Link to which the element belongs.id
- String; the id of the lane. Should be unique within the parentLink.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 LinklateralOffsetAtEnd
- 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 end of the parent LinkbeginWidth
- DoubleScalar.Rel<LengthUnit>; start width, positioned symmetrically around the design lineendWidth
- DoubleScalar.Rel<LengthUnit>; end width, positioned symmetrically around the design lineorg.opentrafficsim.core.geometry.OTSGeometryException
- when creation of the geometry failsorg.opentrafficsim.core.network.NetworkException
- when id equal to null or not uniqueCopyright © 2014–2015 Delft University of Technology. All rights reserved.