Package com.anylogic.engine.routing
- java.lang.Object
- com.anylogic.engine.routing.PlainMovement
- All Implemented Interfaces:
IMovement
,Serializable
public class PlainMovement extends Object implements IMovement
- See Also:
- Serialized Form
Constructor | Description |
---|---|
PlainMovement | |
PlainMovement | |
PlainMovement | |
PlainMovement |
Modifier and Type | Method | Description |
---|---|---|
boolean | contains | |
double | distance | |
boolean | equals | |
Level | getLevel() | |
IRouteLocation | getLocationAtOffset | |
INetwork<?, | getNetwork() | |
INetworkMarkupElement | getNetworkElement() | |
Position | getNormal() | |
Position | getSource() | |
Agent | getSpace() | |
Position | getTarget() | |
MovementType | getType() | |
int | hashCode() | |
String | toString() |
public PlainMovement(Level level, Point source, Point target)
public PlainMovement(INetwork<?, ?> network, Point source, Point target)
public PlainMovement(INetworkMarkupElement networkElement, Point source, Point target)
public PlainMovement(Agent space, Point source, Point target)
public Agent getSpace()
public Level getLevel()
public Position getSource()
public Position getTarget()
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 String toString()
@AnyLogicInternalAPI public Position getNormal()
@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)