Uses of Class
org.opentrafficsim.road.network.lane.CrossSectionLink
Packages that use CrossSectionLink
Package
Description
Generate GTUs according to some prescription.
Interfaces and classes describing perceived objects.
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-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
-
Uses of CrossSectionLink in org.opentrafficsim.road.gtu.generator
Method parameters in org.opentrafficsim.road.gtu.generator with type arguments of type CrossSectionLinkModifier and TypeMethodDescriptionstatic GeneratorPositionsGeneratorPositions.create(Set<LanePosition> positions, nl.tudelft.simulation.jstats.streams.StreamInterface stream, Map<CrossSectionLink, Double> linkWeights, Map<CrossSectionLink, Node> viaNodes) Create a GeneratorPositions object to draw positions from.static GeneratorPositionsGeneratorPositions.create(Set<LanePosition> positions, nl.tudelft.simulation.jstats.streams.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. -
Uses of CrossSectionLink in org.opentrafficsim.road.gtu.lane.perception.object
Methods in org.opentrafficsim.road.gtu.lane.perception.object that return CrossSectionLinkModifier and TypeMethodDescriptionPerceivedConflict.getConflictingLink()Returns the conflicting link.PerceivedConflictFull.getConflictingLink()Returns the conflicting link.Constructors in org.opentrafficsim.road.gtu.lane.perception.object with parameters of type CrossSectionLinkModifierConstructorDescriptionPerceivedConflictFull(String id, Length distance, Length length, ConflictType conflictType, ConflictPriority conflictPriority, Class<? extends ConflictRule> conflictRuleType, Length conflictingLength, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> upstreamConflictingGTUs, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> downstreamConflictingGTUs, Length conflictingVisibility, Speed conflictingSpeedLimit, CrossSectionLink conflictingLink, PerceivedConflictFull.Width width, PerceivedObject stopLine, PerceivedObject conflictingStopLine, Lane lane) Constructor. -
Uses of CrossSectionLink in org.opentrafficsim.road.network.factory
Methods in org.opentrafficsim.road.network.factory that return CrossSectionLinkModifier and TypeMethodDescriptionstatic CrossSectionLinkLaneFactory.makeLink(RoadNetwork network, String name, Node from, Node to, Point2d[] 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 CrossSectionLinkCrossSectionElement.linkCross Section Link to which the element belongs.Methods in org.opentrafficsim.road.network.lane that return CrossSectionLinkModifier and TypeMethodDescriptionfinal CrossSectionLinkCrossSectionElement.getLink()Returns the link of this cross-section element.Methods in org.opentrafficsim.road.network.lane with parameters of type CrossSectionLinkModifier and TypeMethodDescriptionstatic LaneLaneGeometryUtil.createStraightLane(CrossSectionLink link, String id, Length startOffset, Length endOffset, Length startWidth, Length endWidth, LaneType laneType, Map<GtuType, Speed> speedLimits) Creates a simple straight lane.static LaneLaneGeometryUtil.createStraightLane(CrossSectionLink link, String id, Length offset, Length width, LaneType laneType, Map<GtuType, Speed> speedLimits) Creates a simple straight lane.static LaneLaneGeometryUtil.createStraightLane(CrossSectionLink link, String id, ContinuousPiecewiseLinearFunction offset, ContinuousPiecewiseLinearFunction width, LaneType laneType, Map<GtuType, Speed> speedLimits) Creates a simple straight lane.static ObjectLaneGeometryUtil.createStraightShoulder(CrossSectionLink link, String id, Length startOffset, Length endOffset, Length startWidth, Length endWidth, LaneType laneType) Creates a simple straight shoulder.static StripeLaneGeometryUtil.createStraightStripe(StripeData type, String id, CrossSectionLink link, Length offset, Length width) Creates a simple straight lane.Constructors in org.opentrafficsim.road.network.lane with parameters of type CrossSectionLinkModifierConstructorDescriptionCrossSectionElement(CrossSectionLink link, String id, CrossSectionGeometry geometry) Constructor.Lane(CrossSectionLink link, String id, CrossSectionGeometry geometry, LaneType laneType, Map<GtuType, Speed> speedLimitMap) Constructor specifying geometry.Shoulder(CrossSectionLink link, String id, CrossSectionGeometry geometry, LaneType laneType) Constructor specifying geometry.Stripe(String id, StripeData data, CrossSectionLink link, CrossSectionGeometry geometry) Constructor specifying geometry. -
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 voidLaneCombinationList.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