public abstract class AgentPath
extends java.lang.Object
| Constructor and Description |
|---|
AgentPath() |
| Modifier and Type | Method and Description |
|---|---|
static AgentPath |
computePath(Human human,
StandardWorldModel world)
Compute the path an agent took.
|
abstract double |
getLength()
Get the length of this path.
|
abstract Pair<java.lang.Integer,java.lang.Integer> |
getPointOnPath(double d)
Get the coordinates of a point along this path.
|
public static AgentPath computePath(Human human, StandardWorldModel world)
human - The agent.world - The world model.public abstract Pair<java.lang.Integer,java.lang.Integer> getPointOnPath(double d)
d - The distance along the path in the range [0..1].public abstract double getLength()