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 |
---|---|
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) |
Road |
RoadPoint.getRoad() |
Road |
RoadLine.getRoad() |
Road |
Intersection.getRoad(int ix) |
Road[] |
Route.getRoads() |
Modifier and Type | Method and Description |
---|---|
void |
Intersection.addRoad(Road road)
Add a road to this intersection.
|
void |
RoadFinder.deleteRoad(Road road) |
protected Segment |
RoadFinder.getPathSegment(Projection proj,
Road road,
boolean reverse)
Converts a road into a path segment - reverse parameter guarantees the
ordering of the points is consistent across multiple path segments in the
whole route.
|
void |
Intersection.removeRoad(Road road) |
Intersection |
RoadFinder.splitRoad(Road road,
RoadPoint rp)
Split a road into two roads at one of its corners.
|
Constructor and Description |
---|
RoadLine(Road road,
int index) |
RoadPoint(Road road,
Intersection intersection) |
RoadPoint(Road road,
LatLonPoint loc,
RoadLayer layer) |
Route(java.lang.String name,
Road[] roads,
boolean startWithFirstIntersection) |
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details