Package | Description |
---|---|
org.opentrafficsim.core.gtu |
GTU (Generalized Travel Unit) is the base class for cars, trains, pedestrians, etc.
|
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 |
TemplateGTUType.isCompatible(LaneType<?> laneType) |
Modifier and Type | Method and Description |
---|---|
static Lane |
LaneFactory.makeLane(String name,
NodeGeotools.STR from,
NodeGeotools.STR to,
com.vividsolutions.jts.geom.Coordinate[] intermediateCoordinates,
LaneType<String> laneType,
OTSDEVSSimulatorInterface simulator)
Create a simple Lane.
|
static Lane[] |
LaneFactory.makeMultiLane(String name,
NodeGeotools.STR from,
NodeGeotools.STR to,
com.vividsolutions.jts.geom.Coordinate[] intermediateCoordinates,
int laneCount,
int laneOffsetAtStart,
int laneOffsetAtEnd,
LaneType<String> laneType,
OTSDEVSSimulatorInterface simulator)
Create a simple road with the specified number of Lanes.
This method returns an array of Lane. |
static Lane[] |
LaneFactory.makeMultiLane(String name,
NodeGeotools.STR from,
NodeGeotools.STR to,
com.vividsolutions.jts.geom.Coordinate[] intermediateCoordinates,
int laneCount,
LaneType<String> laneType,
OTSDEVSSimulatorInterface simulator)
Create a simple road with the specified number of Lanes.
This method returns an array of Lane. |
Modifier and Type | Method and Description |
---|---|
LaneType<?> |
Lane.getLaneType() |
Modifier and Type | Method and Description |
---|---|
static LaneType<String> |
Convert.makeLaneType(GTUType<String> gtuType)
This method creates a LaneType which supports the specified GTUType.
|
static LaneType<String> |
Convert.makeLaneType(List<GTUType<String>> gtuTypes)
This method creates a LaneType which supports all GTUTypes that have been specified in the GTUType List "GTUs".
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.