Package | Description |
---|---|
org.opentrafficsim.core.network |
Classes that build a network with nodes, links, and cross-sections.
|
org.opentrafficsim.core.network.factory |
Factories for Links, Lanes, Nodes.
|
org.opentrafficsim.core.network.lane |
Classes that provide detailed cross-sections of a link using lanes, markers and sensors.
|
org.opentrafficsim.importexport.osm.output |
Modifier and Type | Method and Description |
---|---|
boolean |
Route.containsLink(CrossSectionLink<?,?> link)
FIXME: this fails if this route contains a Node more than once.
|
Modifier and Type | Method and Description |
---|---|
static CrossSectionLink<?,?> |
LaneFactory.makeLink(String name,
NodeGeotools.STR from,
NodeGeotools.STR to,
com.vividsolutions.jts.geom.Coordinate[] intermediateCoordinates)
Create a Link along intermediate coordinates from one Node to another.
|
protected CrossSectionLink |
XmlNetworkLaneParser.makeLink(XmlNetworkLaneParser.LinkTag linkTag)
FIXME LinkGeotools should extend CrossSectionLink and not the other way around.
|
Modifier and Type | Method and Description |
---|---|
protected List<CrossSectionElement> |
XmlNetworkLaneParser.parseElements(String elements,
CrossSectionLink csl,
XmlNetworkLaneParser.LinkTag linkTag,
XmlNetworkLaneParser.GlobalTag globalTag) |
Modifier and Type | Method and Description |
---|---|
CrossSectionLink<?,?> |
CrossSectionElement.getParentLink() |
Constructor and Description |
---|
Barrier(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from
the StartNode towards the EndNode as the longitudinal direction.
|
CrossSectionElement(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtBegin,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the
direction from the StartNode towards the EndNode as the longitudinal direction.
|
Lane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<FrequencyUnit> capacity) |
NoTrafficLane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtEnd,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality,
DoubleScalar.Abs<FrequencyUnit> capacity) |
RoadMarkerAlong(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from
the StartNode towards the EndNode as the longitudinal direction.
|
Shoulder(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralPosition,
DoubleScalar.Rel<LengthUnit> beginWidth,
DoubleScalar.Rel<LengthUnit> endWidth) |
SinkLane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> beginWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality)
Construct a SinkLane.
|
SourceLane(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralOffsetAtStart,
DoubleScalar.Rel<LengthUnit> beginWidth,
LaneType<?> laneType,
LongitudinalDirectionality directionality)
Construct a GeneratorLane.
|
Stripe(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> width)
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the
direction from the StartNode towards the EndNode as the longitudinal direction.
|
Stripe(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> width,
Set<GTUType<?>> gtuTypes,
Stripe.Permeable permeable)
Helper constructor that immediately provides permeability for a number of GTU classes.
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from the StartNode towards the EndNode as the longitudinal direction. |
Stripe(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> width,
Stripe.Permeable permeable)
Helper constructor that immediately provides permeability for all GTU classes.
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from the StartNode towards the EndNode as the longitudinal direction. |
Modifier and Type | Method and Description |
---|---|
static CrossSectionLink<?,?> |
Convert.convertLink(Link link)
This method converts an OSM link to an OTS link.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.