AnyLogic
Expand
Font size
All Implemented Interfaces:
IGISRouteProvider, IRouteProvider<Curve<GISMarkupSegment>>, Serializable

@AnyLogicInternalAPI
public class PlainGISRouteProvider
extends AbstractGISRouteProvider
See Also:
Serialized Form

Constructor Summary

ConstructorDescription
PlainGISRouteProvider() 

Method Summary

Modifier and TypeMethodDescription
AbstractGISRouteProvidersetRouteNotFoundBehavior(GISRouteNotFoundBehavior behavior)
Configures this route provider to either throw error or create a straight route if the requested route can't be found (applicable for route providers supporting route search).

Methods inherited from class com.anylogic.engine.gis.AbstractGISRouteProvider

getDistance, getPathData, getPathData, getPrecisionInMeters, isThrowError, setPrecisionInMeters, setThrowError

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods inherited from interface com.anylogic.engine.gis.IGISRouteProvider

getDistance, getDistance, getDistance, getLength, getPathData, getPathData, getPositionAtOffset, getRoute, getRoute, getRoute, getRoute

Constructor Details

PlainGISRouteProvider

public PlainGISRouteProvider()

Method Details

setRouteNotFoundBehavior

public AbstractGISRouteProvider setRouteNotFoundBehavior(GISRouteNotFoundBehavior behavior)
Description copied from class: AbstractGISRouteProvider
Configures this route provider to either throw error or create a straight route if the requested route can't be found (applicable for route providers supporting route search).
Overrides:
setRouteNotFoundBehavior in class AbstractGISRouteProvider
Parameters:
behavior - the behavior
Returns:
this object, for convenience