Uses of Record Class
org.opentrafficsim.road.gtu.lane.perception.structure.LaneStructure.Entry
Package
Description
The lane structure provides a way to see the world for a lane based model.
-
Uses of LaneStructure.Entry in org.opentrafficsim.road.gtu.lane.perception.structure
Modifier and TypeMethodDescriptionLaneStructure.getDownstreamGtus
(RelativeLane relativeLane, RelativePosition.Type egoPosition, RelativePosition.Type otherPosition, RelativePosition.Type egoDistancePosition, RelativePosition.Type otherDistancePosition) Returns an iterator over GTUs perceived on a relative lane, ordered close to far.<T extends LaneBasedObject>
Iterable<LaneStructure.Entry<T>>LaneStructure.getDownstreamObjects
(RelativeLane relativeLane, Class<T> clazz, RelativePosition.Type position, boolean onRoute) Returns an iterator over objects perceived on a relative lane, ordered close to far.LaneStructure.getFirstDownstreamGtus
(RelativeLane relativeLane, RelativePosition.Type egoPosition, RelativePosition.Type otherPosition, RelativePosition.Type egoDistancePosition, RelativePosition.Type otherDistancePosition) Returns an iterator over GTUs perceived on a relative lane, ordered close to far.LaneStructure.getFirstUpstreamGtus
(RelativeLane relativeLane, RelativePosition.Type egoPosition, RelativePosition.Type otherPosition, RelativePosition.Type egoDistancePosition, RelativePosition.Type otherDistancePosition) Returns an iterator over GTUs perceived on a relative lane, ordered close to far.LaneStructure.getUpstreamGtus
(RelativeLane relativeLane, RelativePosition.Type egoPosition, RelativePosition.Type otherPosition, RelativePosition.Type egoDistancePosition, RelativePosition.Type otherDistancePosition) Returns an iterator over GTUs perceived on a relative lane, ordered close to far.<T extends LaneBasedObject>
Iterable<LaneStructure.Entry<T>>LaneStructure.getUpstreamObjects
(RelativeLane relativeLane, Class<T> clazz, RelativePosition.Type position) Returns an iterator over objects perceived on a relative lane, ordered close to far.