AnyLogic
Expand
Font size
  • java.lang.Object
    • com.anylogic.engine.routing.PathRouteLocation
All Implemented Interfaces:
IRouteLocation, java.io.Serializable

@AnyLogicInternalAPI
public class PathRouteLocation
extends java.lang.Object
implements IRouteLocation
See Also:
Serialized Form

Constructor Summary

Constructors 
PathRouteLocation​(INetworkMarkupElement element, IPath<?> path, double offset, LengthUnits units)  
PathRouteLocation​(INetworkMarkupElement element, IPath<?> path, double offset, LengthUnits units, PathMovementDirection direction)  
PathRouteLocation​(IPath<?> path, double offset, LengthUnits units)  
PathRouteLocation​(IPath<?> path, double offset, LengthUnits units, PathMovementDirection direction)  
Constructor Description

Method Summary

All Methods Instance Methods Concrete Methods 
boolean equals​(java.lang.Object obj)  
PathMovementDirection getDirection()  
Level getLevel()  
INetwork<?,​?> getNetwork()  
INetworkMarkupElement getNetworkElement()  
double getOffset​(LengthUnits units)  
IPath<?> getPath()  
Position getPosition()  
Agent getSpace()  
int hashCode()  
java.lang.String toString()  
Modifier and Type Method Description

Methods inherited from class java.lang.Object

getClass, notify, notifyAll, wait, wait, wait

Constructor Detail

PathRouteLocation

public PathRouteLocation​(IPath<?> path,
                         double offset,
                         LengthUnits units)

PathRouteLocation

public PathRouteLocation​(IPath<?> path,
                         double offset,
                         LengthUnits units,
                         PathMovementDirection direction)

PathRouteLocation

public PathRouteLocation​(INetworkMarkupElement element,
                         IPath<?> path,
                         double offset,
                         LengthUnits units)

PathRouteLocation

public PathRouteLocation​(INetworkMarkupElement element,
                         IPath<?> path,
                         double offset,
                         LengthUnits units,
                         PathMovementDirection direction)

Method Detail

getSpace

public Agent getSpace()
Specified by:
getSpace in interface IRouteLocation

getPosition

public Position getPosition()
Specified by:
getPosition in interface IRouteLocation

getLevel

public Level getLevel()
Specified by:
getLevel in interface IRouteLocation

getNetwork

public INetwork<?,​?> getNetwork()
Specified by:
getNetwork in interface IRouteLocation

getNetworkElement

public INetworkMarkupElement getNetworkElement()
Specified by:
getNetworkElement in interface IRouteLocation

getPath

public IPath<?> getPath()

getOffset

public double getOffset​(LengthUnits units)

getDirection

public PathMovementDirection getDirection()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals​(java.lang.Object obj)
Overrides:
equals in class java.lang.Object
How can we improve this article?