Uses of Record Class
org.opentrafficsim.road.network.lane.LanePosition
Packages that use LanePosition
Package
Description
Generate GTUs according to some prescription.
The lane-based GTUs are the Generalized Travel Units that travel in lanes, and need to switch lanes to overtake.
Lane-based objects such as barriers, gates, traffic lights, DRIPs, speed signs, obstacles on the road, etc.
Lane-based objects that act as sensors.
-
Uses of LanePosition in org.opentrafficsim.road.gtu.generator
Methods in org.opentrafficsim.road.gtu.generator that return LanePositionModifier and TypeMethodDescriptionLaneBasedGtuGenerator.Placement.getPosition()Returns the position.Methods in org.opentrafficsim.road.gtu.generator with parameters of type LanePositionModifier and TypeMethodDescriptionCfRoomChecker.canPlace(SortedSet<PerceivedGtu> leaders, LaneBasedGtuCharacteristics characteristics, Duration since, LanePosition initialPosition) LaneBasedGtuGenerator.RoomChecker.canPlace(SortedSet<PerceivedGtu> leaders, LaneBasedGtuCharacteristics characteristics, Duration since, LanePosition initialPosition) Return the maximum safe speed and position for a new GTU with the specified characteristics.TtcRoomChecker.canPlace(SortedSet<PerceivedGtu> leaders, LaneBasedGtuCharacteristics characteristics, Duration since, LanePosition initialPosition) final voidLaneBasedGtuGenerator.placeGtu(LaneBasedGtuCharacteristics characteristics, LanePosition position, Speed speed) Places a GTU, regardless of whether it has room.voidGtuSpawner.spawnGtu(String id, LaneBasedGtuCharacteristics templateGtuType, RoadNetwork network, Speed speed, LanePosition position) Create a single GTU.Method parameters in org.opentrafficsim.road.gtu.generator with type arguments of type LanePositionModifier and TypeMethodDescriptionstatic GeneratorPositionsGeneratorPositions.create(Set<LanePosition> positions, nl.tudelft.simulation.jstats.streams.StreamInterface stream) Create a GeneratorPositions object to draw positions from.static 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 biases) 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.Constructors in org.opentrafficsim.road.gtu.generator with parameters of type LanePosition -
Uses of LanePosition in org.opentrafficsim.road.gtu.lane
Methods in org.opentrafficsim.road.gtu.lane that return LanePositionModifier and TypeMethodDescriptionLaneBasedGtu.getPosition()Returns the lane and reference position on the lane of the GTU.LaneBasedGtu.getPosition(Duration time) Returns the lane and reference position on the lane of the GTU.LaneBasedGtu.getPosition(RelativePosition relativePosition) Returns the lane and relative position on the lane of the GTU.LaneBasedGtu.getPosition(RelativePosition relativePosition, Duration time) Returns the lane and relative position on the lane of the GTU.LaneBasedGtu.getPositionOrRoaming()Returns the position when the GTU is on a lane, or the roaming position otherwise.LaneBasedGtu.getRoamingPosition()Returns the nearest lane position on the route / network.protected LanePositionLaneBasedGtu.getRoamingPosition(Point2d location) Returns the nearest lane position on the route / network.Methods in org.opentrafficsim.road.gtu.lane with parameters of type LanePositionModifier and TypeMethodDescriptionprotected voidLaneBasedGtu.endRoaming(LanePosition roamingPosition) Ends roaming if the roaming position is sufficiently close to enter the network. -
Uses of LanePosition in org.opentrafficsim.road.network.lane.object
Constructors in org.opentrafficsim.road.network.lane.object with parameters of type LanePositionModifierConstructorDescriptionLocalDistraction(String id, LanePosition position, Length range, double distractionLevel, LateralDirectionality side) Constructor. -
Uses of LanePosition in org.opentrafficsim.road.network.lane.object.detector
Constructors in org.opentrafficsim.road.network.lane.object.detector with parameters of type LanePositionModifierConstructorDescriptionLoopDetector(String id, LanePosition position, Length length, DetectorType detectorType, Time firstAggregation, Duration aggregation, LoopDetector.LoopDetectorMeasurement<?, ?>... measurements) Constructor.