public class Navigator
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static Navigator |
shared
The shared instance of the Urban Sciences Building navigator.
|
| Constructor and Description |
|---|
Navigator() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Edge> |
getRoute(Navigable destination,
boolean accessibility)
Calculate route from building entrance if no start position provided.
|
java.util.List<Edge> |
getRoute(Navigable origin,
Navigable destination,
boolean accessibility)
Calculates route from start navigable to end navigable.
|
java.util.List<Edge> |
getRoute(Node destination,
boolean accessibility)
Calculate route from building entrance if no start position provided.
|
java.util.List<Edge> |
getRoute(Node origin,
Node destination,
boolean accessibility)
Calculate route from start Node to end Node.
|
java.util.List<Edge> |
getTourRoute() |
public static Navigator shared
public java.util.List<Edge> getRoute(Navigable origin, Navigable destination, boolean accessibility)
origin - The origin of the journey.destination - The destination of the journey.accessibility - Boolean value whether the journey needs to be accessible.public java.util.List<Edge> getRoute(Navigable destination, boolean accessibility)
destination - The destination of the journey.accessibility - Boolean value whether the journey needs to be accessible.public java.util.List<Edge> getRoute(Node destination, boolean accessibility)
destination - The destionation of the journey.accessibility - Boolean value whether the journey needs to be accessible.public java.util.List<Edge> getRoute(Node origin, Node destination, boolean accessibility)
origin - The origin of the journey.destination - The destination of the journey.accessibility - Boolean value whether the journey needs to be accessible.public java.util.List<Edge> getTourRoute()