AnyLogic AnyLogic
Expand
Font size
All Superinterfaces:
AnimationStaticLocationProvider, java.io.Serializable
All Known Subinterfaces:
IPath<N>
All Known Implementing Classes:
ConveyorPath, GISRoute, Path

public interface AnimationMovingLocationProvider
extends AnimationStaticLocationProvider

Method Summary

All Methods Instance Methods Abstract Methods 
Position getPosition​(double value, double maxValue, Position out)
Returns position with offset corresponding to the given value, assuming that 0 is start and maxValue is end
double length()
Returns the length of markup element, used e.g. for desired speed calculation
double length​(LengthUnits units)
Returns the length of markup element, used e.g. for desired speed calculation
Modifier and Type Method Description

Methods inherited from interface com.anylogic.engine.markup.AnimationStaticLocationProvider

getPosition, getSpace

Method Detail

getPosition

Position getPosition​(double value,
                     double maxValue,
                     Position out)
Returns position with offset corresponding to the given value, assuming that 0 is start and maxValue is end
Parameters:
value -
maxValue -
out -
Returns:
position by offset

length

double length()
Returns the length of markup element, used e.g. for desired speed calculation
Returns:
the length of markup element

length

double length​(LengthUnits units)
Returns the length of markup element, used e.g. for desired speed calculation
Returns:
the length of markup element
Since:
7.1
How can we improve this article?