Package com.anylogic.engine.routing
- java.lang.Object
- com.anylogic.engine.routing.PortMovement
- All Implemented Interfaces:
IMovement
,Serializable
public class PortMovement extends Object implements IMovement
- See Also:
- Serialized Form
Constructor | Description |
---|---|
PortMovement |
Modifier and Type | Method | Description |
---|---|---|
boolean | contains | |
double | distance | |
boolean | equals | |
Level | getLevel() | |
IRouteLocation | getLocationAtOffset | |
INetwork<?, | getNetwork() | |
INetworkMarkupElement | getNetworkElement() | |
MarkupPort | getSource() | |
Position | getSourcePosition() | |
Agent | getSpace() | |
MarkupPort | getTarget() | |
Position | getTargetPosition() | |
MovementType | getType() | |
int | hashCode() | |
String | toString() |
public PortMovement(MarkupPort source, MarkupPort target)
public MarkupPort getSource()
public Position getSourcePosition()
public MarkupPort getTarget()
public Position getTargetPosition()
public Level getLevel()
public INetworkMarkupElement getNetworkElement()
- Specified by:
getNetworkElement
in interfaceIMovement
public INetwork<?,?> getNetwork()
- Specified by:
getNetwork
in interfaceIMovement
public Agent getSpace()
public MovementType getType()
public double distance(LengthUnits units)
public String toString()
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)