AnyLogic
Expand
Font size
All Superinterfaces:
Serializable
All Known Implementing Classes:
PathMovement, PlainMovement, PortMovement

public interface IMovement
extends Serializable

Method Summary

Modifier and TypeMethodDescription
booleancontains(IRouteLocation location) 
doubledistance(LengthUnits units) 
LevelgetLevel() 
default IRouteLocationgetLocationAtOffset(double offset, LengthUnits units) 
IRouteLocationgetLocationAtOffset(double offset, LengthUnits units, IRouteLocation out) 
INetwork<?,?>getNetwork() 
INetworkMarkupElementgetNetworkElement() 
AgentgetSpace() 
MovementTypegetType() 
default booleanisMovingForward() 

Method Details

getSpace

Agent getSpace()

getLevel

Level getLevel()

getNetworkElement

INetworkMarkupElement getNetworkElement()

getNetwork

INetwork<?,?> getNetwork()

getType

MovementType getType()

distance

double distance(LengthUnits units)

getLocationAtOffset

@AnyLogicInternalAPI
default IRouteLocation getLocationAtOffset(double offset,
 LengthUnits units)

getLocationAtOffset

@AnyLogicInternalAPI
IRouteLocation getLocationAtOffset(double offset,
 LengthUnits units,
 IRouteLocation out)

contains

@AnyLogicInternalAPI
boolean contains(IRouteLocation location)

isMovingForward

default boolean isMovingForward()