AnyLogic
Expand
Font size
All Implemented Interfaces:
IRouteLocation, Serializable

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

Constructor Summary

ConstructorDescription
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) 

Method Summary

Methods inherited from class java.lang.Object

getClass, notify, notifyAll, wait, wait, wait

Constructor Details

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 Details

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 String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object