Uses of Class
org.opentrafficsim.road.network.lane.CrossSectionLink
Packages that use CrossSectionLink
Package
Description
Generate GTUs according to some prescription.
Copyright (c) 2013-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
Tactical planners for a lane-based GTU.
Factories for Links, Lanes, Nodes.
Classes that provide detailed cross-sections of a link using lanes, markers and sensors.
Contains classes describing intersection conflicts.
Copyright (c) 2013-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
-
Uses of CrossSectionLink in org.opentrafficsim.road.gtu.generator
Methods in org.opentrafficsim.road.gtu.generator that return CrossSectionLinkModifier and TypeMethodDescription(package private) CrossSectionLink
GeneratorPositions.GeneratorLanePosition.getLink()
Returns the link.Method parameters in org.opentrafficsim.road.gtu.generator with type arguments of type CrossSectionLinkModifier and TypeMethodDescriptionstatic GeneratorPositions
GeneratorPositions.create
(Set<LanePosition> positions, StreamInterface stream, Map<CrossSectionLink, Double> linkWeights, Map<CrossSectionLink, Node> viaNodes) Create a GeneratorPositions object to draw positions from.static GeneratorPositions
GeneratorPositions.create
(Set<LanePosition> positions, StreamInterface stream, GeneratorPositions.LaneBiases laneBiases, Map<CrossSectionLink, Double> linkWeights, Map<CrossSectionLink, Node> viaNodes) Create a GeneratorPositions object to draw positions from.GeneratorPositions.draw
(GtuType gtuType, LaneBasedGtuCharacteristics characteristics, Map<CrossSectionLink, Map<Integer, Integer>> unplaced) Draw a new position to generate a GTU.Injections.draw
(GtuType gtuType, LaneBasedGtuCharacteristics characteristics, Map<CrossSectionLink, Map<Integer, Integer>> unplaced) Draw a new position to generate a GTU.Constructors in org.opentrafficsim.road.gtu.generator with parameters of type CrossSectionLinkModifierConstructorDescription(package private)
GeneratorLanePosition
(int laneNumber, Set<LanePosition> position, CrossSectionLink link) Constructor. -
Uses of CrossSectionLink in org.opentrafficsim.road.gtu.lane.perception.headway
Methods in org.opentrafficsim.road.gtu.lane.perception.headway that return CrossSectionLinkModifier and TypeMethodDescriptionfinal CrossSectionLink
HeadwayConflict.getConflictingLink()
Returns the conflicting link.Constructors in org.opentrafficsim.road.gtu.lane.perception.headway with parameters of type CrossSectionLinkModifierConstructorDescriptionHeadwayConflict
(ConflictType conflictType, ConflictPriority conflictPriority, Class<? extends ConflictRule> conflictRuleType, String id, Length distance, Length length, Length conflictingLength, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> upstreamConflictingGTUs, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> downstreamConflictingGTUs, Length conflictingVisibility, Speed conflictingSpeedLimit, CrossSectionLink conflictingLink, HeadwayConflict.Width width, HeadwayStopLine stopLine, HeadwayStopLine conflictingStopLine, Lane lane) Constructor.HeadwayConflict
(ConflictType conflictType, ConflictPriority conflictPriority, Class<? extends ConflictRule> conflictRuleType, String id, Length distance, Length length, Length conflictingLength, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> upstreamConflictingGTUs, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> downstreamConflictingGTUs, Length conflictingVisibility, Speed conflictingSpeedLimit, CrossSectionLink conflictingLink, HeadwayConflict.Width width, Lane lane) Constructor without stop lines. -
Uses of CrossSectionLink in org.opentrafficsim.road.gtu.lane.tactical
Methods in org.opentrafficsim.road.gtu.lane.tactical with parameters of type CrossSectionLinkModifier and TypeMethodDescriptionprotected final int
LaneBasedCfLcTacticalPlanner.countCompatibleLanes
(CrossSectionLink link, GtuType gtuType) Determine how many lanes on a CrossSectionLink are compatible with a particular GTU type.
TODO: this method should probably be moved into the CrossSectionLink class -
Uses of CrossSectionLink in org.opentrafficsim.road.network.factory
Methods in org.opentrafficsim.road.network.factory that return CrossSectionLinkModifier and TypeMethodDescriptionstatic CrossSectionLink
LaneFactory.makeLink
(RoadNetwork network, String name, Node from, Node to, OtsPoint3d[] intermediatePoints, OtsSimulatorInterface simulator) Create a Link along intermediate coordinates from one Node to another. -
Uses of CrossSectionLink in org.opentrafficsim.road.network.lane
Fields in org.opentrafficsim.road.network.lane declared as CrossSectionLinkModifier and TypeFieldDescriptionprotected final CrossSectionLink
CrossSectionElement.parentLink
Cross Section Link to which the element belongs.Methods in org.opentrafficsim.road.network.lane that return CrossSectionLinkMethods in org.opentrafficsim.road.network.lane with parameters of type CrossSectionLinkModifier and TypeMethodDescriptionstatic Lane
Lane.noTrafficLane
(CrossSectionLink parentLink, String id, Length lateralOffsetAtStart, Length lateralOffsetAtEnd, Length beginWidth, Length endWidth, boolean fixGradualLateralOffset) Creates a no-traffic, i.e.Constructors in org.opentrafficsim.road.network.lane with parameters of type CrossSectionLinkModifierConstructorDescriptionCrossSectionElement
(CrossSectionLink parentLink, String id, List<CrossSectionSlice> crossSectionSlices) Construct a new CrossSectionElement.CrossSectionElement
(CrossSectionLink parentLink, String id, Length lateralOffset, Length 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.CrossSectionElement
(CrossSectionLink parentLink, String id, Length lateralOffsetAtBegin, Length lateralOffsetAtEnd, Length beginWidth, Length endWidth, boolean fixGradualLateralOffset) 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, String id, List<CrossSectionSlice> crossSectionSlices, 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 lateralOffset, Length width, LaneType laneType, Map<GtuType, Speed> speedLimitMap) Construct a new Lane.Shoulder
(CrossSectionLink parentLink, String id, Length lateralPositionStart, Length lateralPositionEnd, Length beginWidth, Length endWidth, boolean fixGradualLateralOffset) Creates a shoulder element.Stripe
(Stripe.Type type, CrossSectionLink parentLink, List<CrossSectionSlice> crossSectionSlices) Constructor for elaborate longitudinal property changes.Stripe
(Stripe.Type type, CrossSectionLink parentLink, Length lateralCenterPosition, Length width) Constructor for constant properties along the length.Stripe
(Stripe.Type type, CrossSectionLink parentLink, Length startCenterPosition, Length endCenterPosition, Length beginWidth, Length endWidth, boolean fixGradualLateralOffset) Constructor allowing difference at start at end. -
Uses of CrossSectionLink in org.opentrafficsim.road.network.lane.conflict
Methods in org.opentrafficsim.road.network.lane.conflict with parameters of type CrossSectionLinkModifier and TypeMethodDescriptionfinal void
LaneCombinationList.addLinkCombination
(CrossSectionLink link1, CrossSectionLink link2) Add any combination of lanes on both links to the list. -
Uses of CrossSectionLink in org.opentrafficsim.road.network.sampling
Methods in org.opentrafficsim.road.network.sampling that return CrossSectionLinkConstructors in org.opentrafficsim.road.network.sampling with parameters of type CrossSectionLink