Package | Description |
---|---|
org.opentrafficsim.core.network.factory |
Factories for Links, Lanes, Nodes.
|
org.opentrafficsim.core.network.geotools |
Geotools flavored Nodes, Links, etc.
|
org.opentrafficsim.importexport.osm.output |
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 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.
|
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. |
Constructor and Description |
---|
LinkGeotools.STR(String id,
NodeGeotools.STR startNode,
NodeGeotools.STR endNode,
DoubleScalar.Rel<LengthUnit> length)
Construct a new link with infinite capacity.
|
LinkGeotools.STR(String id,
NodeGeotools.STR startNode,
NodeGeotools.STR endNode,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Abs<FrequencyUnit> capacity)
Construct a new link.
|
Modifier and Type | Method and Description |
---|---|
static NodeGeotools.STR |
Convert.convertNode(Node node)
This method converts an OSM node to an OTS node.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.