Package com.anylogic.engine.routing
- java.lang.Object
- com.anylogic.engine.routing.PathMovement
- All Implemented Interfaces:
IMovement
,Serializable
public class PathMovement extends Object implements IMovement
- See Also:
- Serialized Form
Constructor | Description |
---|---|
PathMovement | |
PathMovement | |
PathMovement |
Modifier and Type | Method | Description |
---|---|---|
boolean | contains | |
double | distance | |
boolean | equals | |
PathMovementDirection | getDirection() | |
Level | getLevel() | |
IRouteLocation | getLocationAtOffset | |
INetwork<?, | getNetwork() | |
INetworkMarkupElement | getNetworkElement() | |
IPath<?> | getPath() | |
double | getSourceOffset | |
Agent | getSpace() | |
double | getTargetOffset | |
MovementType | getType() | |
int | hashCode() | |
boolean | isMovingForward() | |
String | toString() |
public PathMovement(IPath<?> path, double sourceOffset, double targetOffset, LengthUnits units)
public PathMovement(INetworkMarkupElement networkElement, IPath<?> path, double sourceOffset, double targetOffset, LengthUnits units)
@AnyLogicInternalAPI public PathMovement(INetworkMarkupElement networkElement, IPath<?> path, double sourceOffset, double targetOffset, PathMovementDirection direction, LengthUnits units)
public Level getLevel()
public IPath<?> getPath()
public double getSourceOffset(LengthUnits units)
public double getTargetOffset(LengthUnits units)
public Agent getSpace()
public INetworkMarkupElement getNetworkElement()
- Specified by:
getNetworkElement
in interfaceIMovement
public INetwork<?,?> getNetwork()
- Specified by:
getNetwork
in interfaceIMovement
public MovementType getType()
public double distance(LengthUnits units)
public PathMovementDirection getDirection()
public boolean isMovingForward()
- Specified by:
isMovingForward
in interfaceIMovement
public String toString()
@AnyLogicInternalAPI public IRouteLocation getLocationAtOffset(double offset, LengthUnits units, IRouteLocation out)
- Specified by:
getLocationAtOffset
in interfaceIMovement
public boolean contains(IRouteLocation location)
public int hashCode()
public boolean equals(Object obj)