Package | Description |
---|---|
org.opentrafficsim.road.network.factory |
Factories for Links, Lanes, Nodes.
|
org.opentrafficsim.road.network.lane |
Classes that provide detailed cross-sections of a link using lanes, markers and sensors.
|
Modifier and Type | Method and Description |
---|---|
static Lane |
LaneFactory.makeLane(RoadNetwork network,
String name,
OTSRoadNode from,
OTSRoadNode to,
OTSPoint3D[] intermediatePoints,
LaneType laneType,
Speed speedLimit,
OTSSimulatorInterface simulator)
Create a simple Lane.
|
static CrossSectionLink |
LaneFactory.makeLink(RoadNetwork network,
String name,
OTSRoadNode from,
OTSRoadNode to,
OTSPoint3D[] intermediatePoints,
OTSSimulatorInterface simulator)
Create a Link along intermediate coordinates from one Node to another.
|
static Lane[] |
LaneFactory.makeMultiLane(RoadNetwork network,
String name,
OTSRoadNode from,
OTSRoadNode to,
OTSPoint3D[] intermediatePoints,
int laneCount,
int laneOffsetAtStart,
int laneOffsetAtEnd,
LaneType laneType,
Speed speedLimit,
OTSSimulatorInterface simulator)
Create a simple road with the specified number of Lanes.
This method returns an array of Lane. |
static Lane[] |
LaneFactory.makeMultiLane(RoadNetwork network,
String name,
OTSRoadNode from,
OTSRoadNode to,
OTSPoint3D[] intermediatePoints,
int laneCount,
LaneType laneType,
Speed speedLimit,
OTSSimulatorInterface simulator)
Create a simple road with the specified number of Lanes.
This method returns an array of Lane. |
static Lane[] |
LaneFactory.makeMultiLaneBezier(RoadNetwork network,
String name,
OTSRoadNode n1,
OTSRoadNode n2,
OTSRoadNode n3,
OTSRoadNode n4,
int laneCount,
int laneOffsetAtStart,
int laneOffsetAtEnd,
LaneType laneType,
Speed speedLimit,
OTSSimulatorInterface simulator)
Create a simple road with the specified number of Lanes, based on a Bezier curve.
This method returns an array of Lane. |
Constructor and Description |
---|
LaneFactory(OTSRoadNetwork network,
OTSRoadNode from,
OTSRoadNode to,
LinkType type,
OTSSimulatorInterface simulator,
LaneKeepingPolicy policy) |
LaneFactory(OTSRoadNetwork network,
OTSRoadNode from,
OTSRoadNode to,
LinkType type,
OTSSimulatorInterface simulator,
LaneKeepingPolicy policy,
OTSLine3D line) |
Constructor and Description |
---|
CrossSectionLink(RoadNetwork network,
String id,
OTSRoadNode startNode,
OTSRoadNode endNode,
LinkType linkType,
OTSLine3D designLine,
OTSSimulatorInterface simulator,
LaneKeepingPolicy laneKeepingPolicy)
Construction of a cross section link.
|
Copyright © 2014–2019 Delft University of Technology. All rights reserved.