Uses of Class
org.opentrafficsim.road.network.CrossSectionLink
Packages that use CrossSectionLink
Package
Description
Generate GTUs according to some prescription.
Interfaces and classes describing perceived objects.
Classes that provide detailed cross-sections of a link using lanes, markers and sensors.
Contains classes describing intersection conflicts.
Factories for Links, Lanes, Nodes.
Copyright (c) 2013-2026 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.perception.object
Methods in org.opentrafficsim.road.gtu.perception.object that return CrossSectionLinkModifier and TypeMethodDescriptionPerceivedConflict.getConflictingLink()Returns the conflicting link.PerceivedConflictFull.getConflictingLink()Constructors in org.opentrafficsim.road.gtu.perception.object with parameters of type CrossSectionLinkModifierConstructorDescriptionPerceivedConflictFull(String id, org.djunits.value.vdouble.scalar.Length distance, org.djunits.value.vdouble.scalar.Length length, ConflictType conflictType, ConflictPriority conflictPriority, Class<? extends ConflictRule> conflictRuleType, org.djunits.value.vdouble.scalar.Length conflictingLength, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> upstreamConflictingGTUs, PerceptionCollectable<PerceivedGtu, LaneBasedGtu> downstreamConflictingGTUs, org.djunits.value.vdouble.scalar.Length conflictingVisibility, SpeedLimit conflictingSpeedLimit, CrossSectionLink conflictingLink, PerceivedConflictFull.Width width, PerceivedObject stopLine, PerceivedObject conflictingStopLine, LateralDirectionality turn, Lane lane) Constructor. -
Uses of CrossSectionLink in org.opentrafficsim.road.network
Fields in org.opentrafficsim.road.network declared as CrossSectionLinkModifier and TypeFieldDescriptionprotected final CrossSectionLinkCrossSectionElement.linkCross Section Link to which the element belongs.Methods in org.opentrafficsim.road.network that return CrossSectionLinkModifier and TypeMethodDescriptionfinal CrossSectionLinkCrossSectionElement.getLink()Returns the link of this cross-section element.Methods in org.opentrafficsim.road.network 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, LaneSpeedLimits 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, LaneSpeedLimits speedLimits) Creates a simple straight lane.static LaneLaneGeometryUtil.createStraightLane(CrossSectionLink link, String id, ContinuousPiecewiseLinearFunction offset, ContinuousPiecewiseLinearFunction width, LaneType laneType, LaneSpeedLimits 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 with parameters of type CrossSectionLinkModifierConstructorDescriptionCrossSectionElement(CrossSectionLink link, String id, CrossSectionGeometry geometry) Constructor.Lane(CrossSectionLink link, String id, CrossSectionGeometry geometry, LaneType laneType, LaneSpeedLimits laneSpeedLimits) 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.conflict
Methods in org.opentrafficsim.road.network.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.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.sampling
Methods in org.opentrafficsim.road.network.sampling that return CrossSectionLinkConstructors in org.opentrafficsim.road.network.sampling with parameters of type CrossSectionLink