Uses of Class
org.opentrafficsim.road.network.lane.CrossSectionLink
Packages that use CrossSectionLink
Package
Description
Generate GTUs according to some prescription.
Copyright (c) 2013-2024 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-2024 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) CrossSectionLinkGeneratorPositions.GeneratorLanePosition.getLink()Returns the link.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.Injections.draw(GtuType gtuType, LaneBasedGtuCharacteristics characteristics, Map<CrossSectionLink, Map<Integer, Integer>> unplaced) Constructors in org.opentrafficsim.road.gtu.generator with parameters of type CrossSectionLinkModifierConstructorDescription(package private)GeneratorLanePosition(int laneNumber, 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 CrossSectionLinkHeadwayConflict.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, org.djunits.value.vdouble.scalar.Length distance, org.djunits.value.vdouble.scalar.Length length, org.djunits.value.vdouble.scalar.Length conflictingLength, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> upstreamConflictingGTUs, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> downstreamConflictingGTUs, org.djunits.value.vdouble.scalar.Length conflictingVisibility, org.djunits.value.vdouble.scalar.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, org.djunits.value.vdouble.scalar.Length distance, org.djunits.value.vdouble.scalar.Length length, org.djunits.value.vdouble.scalar.Length conflictingLength, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> upstreamConflictingGTUs, PerceptionCollectable<HeadwayGtu, LaneBasedGtu> downstreamConflictingGTUs, org.djunits.value.vdouble.scalar.Length conflictingVisibility, org.djunits.value.vdouble.scalar.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 intLaneBasedCfLcTacticalPlanner.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 CrossSectionLinkLaneFactory.makeLink(RoadNetwork network, String name, Node from, Node to, org.djutils.draw.point.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, org.djunits.value.vdouble.scalar.Length startOffset, org.djunits.value.vdouble.scalar.Length endOffset, org.djunits.value.vdouble.scalar.Length startWidth, org.djunits.value.vdouble.scalar.Length endWidth, LaneType laneType, Map<GtuType, org.djunits.value.vdouble.scalar.Speed> speedLimits) Creates a simple straight lane.static LaneLaneGeometryUtil.createStraightLane(CrossSectionLink link, String id, org.djunits.value.vdouble.scalar.Length offset, org.djunits.value.vdouble.scalar.Length width, LaneType laneType, Map<GtuType, org.djunits.value.vdouble.scalar.Speed> speedLimits) Creates a simple straight lane.static LaneLaneGeometryUtil.createStraightLane(CrossSectionLink link, String id, ContinuousLine.ContinuousDoubleFunction offset, ContinuousLine.ContinuousDoubleFunction width, LaneType laneType, Map<GtuType, org.djunits.value.vdouble.scalar.Speed> speedLimits) Creates a simple straight lane.static ObjectLaneGeometryUtil.createStraightShoulder(CrossSectionLink link, String id, org.djunits.value.vdouble.scalar.Length startOffset, org.djunits.value.vdouble.scalar.Length endOffset, org.djunits.value.vdouble.scalar.Length startWidth, org.djunits.value.vdouble.scalar.Length endWidth, LaneType laneType) Creates a simple straight shoulder.static StripeLaneGeometryUtil.createStraightStripe(StripeData type, String id, CrossSectionLink link, org.djunits.value.vdouble.scalar.Length offset, org.djunits.value.vdouble.scalar.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, org.djunits.value.vdouble.scalar.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