Package | Description |
---|---|
com.bbn.openmap.tools.roads |
Provides classes to determine routes given a set of roads and
intersections.
|
Modifier and Type | Method and Description |
---|---|
protected Intersection |
RoadFinder.findClosestIntersection(int x,
int y)
Look in intersection Quad Tree for closest intersection to point x,y
|
protected Intersection |
RoadFinder.findClosestIntersection(LatLonPoint latLon)
Look in intersection Quad Tree for closest intersection to point at
specified latitude and longitude.
|
protected Intersection |
RoadFinder.findIntersection(int x,
int y) |
protected Intersection |
RoadFinder.findIntersection(LatLonPoint loc) |
protected Intersection |
RoadFinder.findIntersection(LatLonPoint loc,
java.lang.String name) |
Intersection |
RoadFinder.Intersections.get(java.lang.String name) |
Intersection |
Route.getDestinationIntersection() |
Intersection |
Road.getFirstIntersection() |
Intersection |
Intersection.Graphic.getIntersection() |
Intersection |
Route.getOriginIntersection() |
Intersection |
Road.getOtherIntersection(Intersection intersection) |
Intersection |
Road.getSecondIntersection() |
Intersection |
RoadFinder.splitRoad(Road road,
RoadPoint rp)
Split a road into two roads at one of its corners.
|
Intersection |
Intersection.startMove(boolean shifted) |
Modifier and Type | Method and Description |
---|---|
void |
Road.changeIntersection(Intersection oldIntersection,
Intersection newIntersection) |
boolean |
RoadFinder.Intersections.contains(Intersection intersection) |
Road |
RoadLayer.createRoad(Intersection inter) |
Road |
RoadFinder.createRoad(Intersection from)
called from Intersection Implemented for RoadLayer interface
|
protected Road |
RoadFinder.createRoad(int id,
java.lang.String name,
Intersection from,
Intersection to,
RoadClass cl_ss) |
protected void |
RoadFinder.deleteIntersection(Intersection intersection) |
static Route |
Route.getBestRoute(Intersection from,
Intersection to,
float bestConvoySpeed,
float worstConvoySpeed) |
Intersection |
Road.getOtherIntersection(Intersection intersection) |
void |
RoadFinder.joinRoads(Intersection intersection)
Join two roads into one.
|
void |
Intersection.merge(Intersection other)
Merge another intersection with this one.
|
void |
RoadFinder.Intersections.put(Intersection intersection) |
void |
RoadFinder.Intersections.remove(Intersection intersection) |
void |
Road.setIntersections(Intersection from,
Intersection to) |
Constructor and Description |
---|
Road(int id,
java.lang.String name,
Intersection from,
Intersection to,
RoadClass roadClass,
RoadLayer roadLayer)
Create a road between two Intersections.
|
RoadPoint(Road road,
Intersection intersection) |
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details