Package com.anylogic.engine.markup
- All Superinterfaces:
java.io.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 java.io.Serializable
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). |
Agent |
getSpace() |
Returns the space where the animation location is defined
|
Modifier and Type | Method | Description |
---|
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 thantotalNumber
totalNumber
- 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
-
How can we improve this article?
-