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

public interface AnimationMovingLocationProvider
extends AnimationStaticLocationProvider

Method Summary

Modifier and TypeMethodDescription
PositiongetPosition(double value, double maxValue, Position out)
Returns position with offset corresponding to the given value, assuming that 0 is start and maxValue is end
doublelength()
Returns the length of markup element, used e.g.
doublelength(LengthUnits units)
Returns the length of markup element, used e.g.

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

getPosition, getSpace

Method Details

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