Uses of Class
org.opentrafficsim.road.network.lane.LaneType
-
Packages that use LaneType Package Description org.opentrafficsim.road.definitions The RoadDefinitions package contains interfaces that give access to the core definitions that can be used to interpret the RoadNetwork and the RoadPerceivableContext.org.opentrafficsim.road.gtu.lane.perception Implementation of lane-based perception for the GTU.org.opentrafficsim.road.network 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. -
-
Uses of LaneType in org.opentrafficsim.road.definitions
Methods in org.opentrafficsim.road.definitions that return LaneType Modifier and Type Method Description LaneType
RoadDefinitions. getLaneType(String laneTypeId)
Retrieve a defined LaneType based on its id.LaneType
RoadDefinitions. getLaneType(LaneType.DEFAULTS laneTypeEnum)
Retrieve a defined default LaneType based on its enum.Methods in org.opentrafficsim.road.definitions that return types with arguments of type LaneType Modifier and Type Method Description ImmutableMap<String,LaneType>
RoadDefinitions. getLaneTypes()
Retrieve a safe copy of the map of defined LaneTypes in this network.Methods in org.opentrafficsim.road.definitions with parameters of type LaneType Modifier and Type Method Description void
RoadDefinitions. addLaneType(LaneType laneType)
Add a Lane type to the map. -
Uses of LaneType in org.opentrafficsim.road.gtu.lane.perception
Methods in org.opentrafficsim.road.gtu.lane.perception that return types with arguments of type LaneType Modifier and Type Method Description Map<LaneType,Speed>
GTUTypeAssumptions. getMaxSpeeds(GTUType gtuType)
Return a safe copy of the maximum speed for all LaneTypes for a certain GTUType as an assumption for that GTUType.Methods in org.opentrafficsim.road.gtu.lane.perception with parameters of type LaneType Modifier and Type Method Description Speed
GTUTypeAssumptions. getLaneTypeMaxSpeed(GTUType gtuType, LaneType laneType)
Return the maximum speed on a LaneType for a certain GTUType as an assumption for that GTUType.void
GTUTypeAssumptions. setLaneTypeMaxSpeed(GTUType gtuType, LaneType laneType, Speed maxSpeed)
Set the maximum speed for a certain GTUType on a certain LaneType as an assumption for that GTUType. -
Uses of LaneType in org.opentrafficsim.road.network
Methods in org.opentrafficsim.road.network that return LaneType Modifier and Type Method Description LaneType
OTSRoadNetwork. getLaneType(String laneTypeId)
Retrieve a defined LaneType based on its id.LaneType
OTSRoadNetwork. getLaneType(LaneType.DEFAULTS laneTypeEnum)
Retrieve a defined default LaneType based on its enum.Methods in org.opentrafficsim.road.network that return types with arguments of type LaneType Modifier and Type Method Description ImmutableMap<String,LaneType>
OTSRoadNetwork. getLaneTypes()
Retrieve a safe copy of the map of defined LaneTypes in this network.Methods in org.opentrafficsim.road.network with parameters of type LaneType Modifier and Type Method Description void
OTSRoadNetwork. addLaneType(LaneType laneType)
Add a Lane type to the map. -
Uses of LaneType in org.opentrafficsim.road.network.factory
Methods in org.opentrafficsim.road.network.factory with parameters of type LaneType Modifier and Type Method Description LaneFactory
LaneFactory. leftToRight(double leftLanes, Length laneWidth, LaneType laneType, Speed speedLimit)
Prepare the factory to add lanes from left to right.static Lane
LaneFactory. makeLane(OTSRoadNetwork network, String name, OTSRoadNode from, OTSRoadNode to, OTSPoint3D[] intermediatePoints, LaneType laneType, Speed speedLimit, OTSSimulatorInterface simulator)
Create a simple Lane.static Lane[]
LaneFactory. makeMultiLane(OTSRoadNetwork 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(OTSRoadNetwork 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(OTSRoadNetwork 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.LaneFactory
LaneFactory. rightToLeft(double rightLanes, Length laneWidth, LaneType laneType, Speed speedLimit)
Prepare the factory to add lanes from right to left. -
Uses of LaneType in org.opentrafficsim.road.network.lane
Methods in org.opentrafficsim.road.network.lane that return LaneType Modifier and Type Method Description LaneType
Lane. getLaneType()
LaneType
LaneType. inv()
Construct a new Lane type based on another Lane type with longitudinally inverted compatibility.Methods in org.opentrafficsim.road.network.lane that return types with arguments of type LaneType Modifier and Type Method Description GTUCompatibility<LaneType>
LaneType. getCompatibility()
Constructors in org.opentrafficsim.road.network.lane with parameters of type LaneType Constructor Description Lane(CrossSectionLink parentLink, String id, List<CrossSectionSlice> crossSectionSlices, LaneType laneType, Map<GTUType,Speed> speedLimitMap)
Construct a new Lane.Lane(CrossSectionLink parentLink, String id, List<CrossSectionSlice> crossSectionSlices, LaneType laneType, Speed speedLimit)
Construct a new Lane.Lane(CrossSectionLink parentLink, String id, Length lateralOffsetAtStart, Length lateralOffsetAtEnd, Length beginWidth, Length endWidth, LaneType laneType, Map<GTUType,Speed> speedLimitMap)
Construct a new Lane.Lane(CrossSectionLink parentLink, String id, Length lateralOffsetAtStart, Length lateralOffsetAtEnd, Length beginWidth, Length endWidth, LaneType laneType, Map<GTUType,Speed> speedLimitMap, boolean fixGradualLateralOffset)
Construct a new Lane.Lane(CrossSectionLink parentLink, String id, Length lateralOffsetAtStart, Length lateralOffsetAtEnd, Length beginWidth, Length endWidth, LaneType laneType, Speed speedLimit)
Construct a new Lane.Lane(CrossSectionLink parentLink, String id, Length lateralOffsetAtStart, Length lateralOffsetAtEnd, Length beginWidth, Length endWidth, LaneType laneType, Speed speedLimit, boolean fixGradualLateralOffset)
Construct a new Lane.Lane(CrossSectionLink parentLink, String id, Length lateralOffset, Length width, LaneType laneType, Map<GTUType,Speed> speedLimitMap)
Construct a new Lane.Lane(CrossSectionLink parentLink, String id, Length lateralOffset, Length width, LaneType laneType, Speed speedLimit)
Construct a new Lane.LaneType(String id, LaneType parent, GTUCompatibility<LaneType> compatibility, RoadNetwork network)
Create a new Lane type with a compatibility set.Constructor parameters in org.opentrafficsim.road.network.lane with type arguments of type LaneType Constructor Description LaneType(String id, GTUCompatibility<LaneType> compatibility, RoadNetwork network)
Create a new Lane type with a compatibility set.LaneType(String id, LaneType parent, GTUCompatibility<LaneType> compatibility, RoadNetwork network)
Create a new Lane type with a compatibility set.
-