Package com.anylogic.engine.markup
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
AnimationMovingLocationProvider,INode<N,,P> IPath<N>
- All Known Implementing Classes:
AreaNode,ConveyorCustomStation,ConveyorNode,ConveyorPath,ConveyorPointNode,ConveyorPortImpl,ConveyorTransferTable,ConveyorTransitionalNode,ConveyorTurnStation,ConveyorTurntable,GISNode,GISPoint,GISRegion,GISRoute,NetworkPortImpl,Node,Path,PointNode,PolygonalNode,QueueArea,RectangularNode
public interface AnimationStaticLocationProvider extends Serializable
| Modifier and Type | Method | Description |
|---|---|---|
Position | getPosition |
Returns the item position with the given index.
In case of any wrong argument returns zero-index position (position for index=0 with totalNumber=1). |
Agent | getSpace() |
Returns the space where the animation location is defined
|
Agent getSpace()
Returns the space where the animation location is defined
- Returns:
- the space associated with this object
Position getPosition(int index, int totalNumber, Position out)
Returns the item position with the given index.
In case of any wrong argument returns zero-index position (position for index=0 with totalNumber=1).
In case of any wrong argument returns zero-index position (position for index=0 with totalNumber=1).
- Parameters:
index- the index of some item positions, should be not negative and less thantotalNumbertotalNumber- the total number of item positions, should be positiveout- output object to write to, may benull- Returns:
- the Position object with coordinates of the requested item position