Loading...
Searching...
No Matches
com.navigine.idl.java.RouteManager Class Referenceabstract

Class is used for evaluating RoutePath from point to point. More...

Public Member Functions

abstract RoutePath makeRoute (LocationPoint from, LocationPoint to)
 Method is used to build a route between points about evaluated RoutePath from your position to target point.
 
abstract ArrayList< RoutePathmakeRoutes (LocationPoint from, ArrayList< LocationPoint > to)
 Method is used to build a route between the starting point and several destination points.
 
abstract void setTarget (LocationPoint target)
 Method is used to set target point in your location. Through RouteListener you will be notified about new paths to target point.
 
abstract void addTarget (LocationPoint target)
 Method is used to add target point in your location. Through RouteListener you will be notified about new paths to target point.
 
abstract void cancelTarget ()
 Method is used for removing current target points to where the routes were built.
 
abstract void clearTargets ()
 Method is used for removing all target points to where the routes were built.
 
abstract void setGraphTag (String tag)
 Method is used to select graph tag (Default: "default").
 
abstract String getGraphTag ()
 Method is used to get current graph tag (Default: "default").
 
abstract ArrayList< String > getGraphTags ()
 Method is used to get all graph tags,.
 
abstract void addRouteListener (RouteListener listener)
 Method is used to add RouteListener class element which will notify about evaluated route path from your position to target point.
 
abstract void removeRouteListener (RouteListener listener)
 Method is used for removing previously added RouteListener class element.
 

Detailed Description

Class is used for evaluating RoutePath from point to point.

Referenced from NavigineSdk.

Definition at line 17 of file RouteManager.java.

Member Function Documentation

◆ addRouteListener()

abstract void com.navigine.idl.java.RouteManager.addRouteListener ( RouteListener listener)
abstract

Method is used to add RouteListener class element which will notify about evaluated route path from your position to target point.

Note
Do not forget to remove listener if it is no longer needed!
Parameters
listenerСorresponding RouteListener class.

◆ addTarget()

abstract void com.navigine.idl.java.RouteManager.addTarget ( LocationPoint target)
abstract

Method is used to add target point in your location. Through RouteListener you will be notified about new paths to target point.

Parameters
targetfinish LocationPoint.

◆ cancelTarget()

abstract void com.navigine.idl.java.RouteManager.cancelTarget ( )
abstract

Method is used for removing current target points to where the routes were built.

◆ clearTargets()

abstract void com.navigine.idl.java.RouteManager.clearTargets ( )
abstract

Method is used for removing all target points to where the routes were built.

◆ getGraphTag()

abstract String com.navigine.idl.java.RouteManager.getGraphTag ( )
abstract

Method is used to get current graph tag (Default: "default").

◆ getGraphTags()

abstract ArrayList< String > com.navigine.idl.java.RouteManager.getGraphTags ( )
abstract

Method is used to get all graph tags,.

◆ makeRoute()

abstract RoutePath com.navigine.idl.java.RouteManager.makeRoute ( LocationPoint from,
LocationPoint to )
abstract

Method is used to build a route between points about evaluated RoutePath from your position to target point.

Parameters
fromstarting LocationPoint.
todestination LocationPoint.
Returns
RoutePath from starting to destination point.

◆ makeRoutes()

abstract ArrayList< RoutePath > com.navigine.idl.java.RouteManager.makeRoutes ( LocationPoint from,
ArrayList< LocationPoint > to )
abstract

Method is used to build a route between the starting point and several destination points.

Parameters
fromstarting LocationPoint.
todestination list of LocationPoints.
Returns
vector of RoutePaths from starting to destination point.

◆ removeRouteListener()

abstract void com.navigine.idl.java.RouteManager.removeRouteListener ( RouteListener listener)
abstract

Method is used for removing previously added RouteListener class element.

Parameters
listenerСorresponding RouteListener class to remove.

◆ setGraphTag()

abstract void com.navigine.idl.java.RouteManager.setGraphTag ( String tag)
abstract

Method is used to select graph tag (Default: "default").

◆ setTarget()

abstract void com.navigine.idl.java.RouteManager.setTarget ( LocationPoint target)
abstract

Method is used to set target point in your location. Through RouteListener you will be notified about new paths to target point.

Parameters
targetfinish LocationPoint.

The documentation for this class was generated from the following file: