Uses of Class
vanetsim.map.Street

Packages that use Street
vanetsim.gui   
vanetsim.gui.controlpanels   
vanetsim.map   
vanetsim.routing   
vanetsim.routing.A_Star   
vanetsim.scenario   
vanetsim.scenario.events   
vanetsim.scenario.messages   
 

Uses of Street in vanetsim.gui
 

Methods in vanetsim.gui with parameters of type Street
 void Renderer.setMarkedStreet(Street markedStreet)
          Sets a new marked street.
 

Uses of Street in vanetsim.gui.controlpanels
 

Methods in vanetsim.gui.controlpanels that return Street
 Street EditTrafficLightsControlPanel.getSelectedStreet_()
           
 

Methods in vanetsim.gui.controlpanels with parameters of type Street
 void EditTrafficLightsControlPanel.setSelectedStreet_(Street selectedStreet_)
           
 

Uses of Street in vanetsim.map
 

Methods in vanetsim.map that return Street
static Street MapHelper.findNearestStreet(int x, int y, int maxDistance, double[] distance, int[] nearestPoint)
          Returns the nearest street to a given point.
 Street[] Node.getCrossingStreets()
          Gets an array of the streets which are crossing in this node.
 Street[] Node.getOutgoingStreets()
          Gets an array of the outgoing streets of this node.
 Street[] Junction.getPriorityStreets()
           
 Street[] TrafficLight.getStreets_()
           
 Street[] Region.getStreets()
          Returns all streets in this region.
 

Methods in vanetsim.map with parameters of type Street
 void Node.addCrossingStreet(Street street)
          Adds a crossing street.
 void Node.addOutgoingStreet(Street street)
          Adds an outgoing street.
 void Map.addStreet(Street street)
          Add a new street to the correct region(s).
 void Region.addStreet(Street street, boolean doCheck)
          Function to add a street to this region.
static void MapHelper.calculateBridges(Street bridgeStreet, Street otherStreet)
          Checks for intersections on the maps and creates bridges if necessary (only for display purposes).
static double MapHelper.calculateDistancePointToStreet(Street street, int x, int y, boolean sqrt, int[] result)
          Calculate the distance between a point and a street.
 void TrafficLight.calculateTrafficLightPosition(Street tmpStreet)
          Calculates Traffic light position for drawing
 boolean Junction.canPassTrafficLight(Vehicle vehicle, Street tmpStreet, Node nextNode)
          Returns if a vehicle may pass a Traffic Light.
 boolean Node.delCrossingStreet(Street street)
          Removes a crossing street.
 boolean Node.delOutgoingStreet(Street street)
          Removes an outgoing street.
 void Region.delStreet(Street street)
          Delete a street.
 void Map.delStreet(Street street)
          Delete a street from all region(s) it's in.
static boolean MapHelper.findNearestPointOnStreet(Street street, int x, int y, int[] result)
          Calculates the point ON a street which is nearest to a given point (for snapping or such things).
 void TrafficLight.setStreets_(Street[] streets_)
           
 

Constructors in vanetsim.map with parameters of type Street
Junction(Node node, Street[] priorityStreets)
          Constructor
 

Uses of Street in vanetsim.routing
 

Methods in vanetsim.routing that return Street
 Street WayPoint.getStreet()
          Gets the street on which this waypoint is located.
 

Methods in vanetsim.routing with parameters of type Street
 ArrayDeque<Node> RoutingAlgorithm.getRouting(int mode, int direction, int startX, int startY, Street startStreet, double startStreetPos, int targetX, int targetY, Street targetStreet, double targetStreetPos, Street[] penaltyStreets, int[] penaltyDirections, int[] penalties, int penaltySize, int additionalVar)
          Gets a routing result.
 ArrayDeque<Node> RoutingAlgorithm.getRouting(int mode, int direction, int startX, int startY, Street startStreet, double startStreetPos, int targetX, int targetY, Street targetStreet, double targetStreetPos, Street[] penaltyStreets, int[] penaltyDirections, int[] penalties, int penaltySize, int additionalVar)
          Gets a routing result.
 

Uses of Street in vanetsim.routing.A_Star
 

Methods in vanetsim.routing.A_Star with parameters of type Street
 ArrayDeque<Node> A_Star_Algorithm.getRouting(int mode, int direction, int startX, int startY, Street startStreet, double startStreetPos, int targetX, int targetY, Street targetStreet, double targetStreetPos, Street[] penaltyStreets, int[] penaltyDirections, int[] penalties, int penaltySize, int additionalVar)
          Gets a routing result.
 ArrayDeque<Node> A_Star_Algorithm.getRouting(int mode, int direction, int startX, int startY, Street startStreet, double startStreetPos, int targetX, int targetY, Street targetStreet, double targetStreetPos, Street[] penaltyStreets, int[] penaltyDirections, int[] penalties, int penaltySize, int additionalVar)
          Gets a routing result.
 

Uses of Street in vanetsim.scenario
 

Methods in vanetsim.scenario that return Street
 Street LaneObject.getCurStreet()
          Gets the current street.
 Street[] Vehicle.getRouteStreets()
          Gets an array with all streets which will be visited until arriving at the next destination.
 Street[] KnownPenalties.getStreets()
          Gets all streets with known penalties.
 

Methods in vanetsim.scenario with parameters of type Street
 void KnownPenalties.updatePenalty(Street street, int direction, int penalty, int validUntil)
          Updates or adds a penalty.
 

Uses of Street in vanetsim.scenario.events
 

Methods in vanetsim.scenario.events that return Street
 Street StartBlocking.getStreet()
          Gets the street where blocking is done.
 

Constructors in vanetsim.scenario.events with parameters of type Street
BlockingObject(int lane, boolean direction, Street street, double position)
          Instantiates a new blocking object.
 

Uses of Street in vanetsim.scenario.messages
 

Constructors in vanetsim.scenario.messages with parameters of type Street
PenaltyMessage(int destinationX, int destinationY, int destinationRadius, int validUntil, Street penaltyStreet, int penaltyDirection, int penaltyValue, int penaltyValidUntil)
          Instantiates a new penalty message.