public class Directions
extends java.lang.Object
Coordinate
objects on a path, and a corresponding
list of Instruction
objects representing the instructions to display to the user.Modifier and Type | Method and Description |
---|---|
float |
getDistance()
Gets the distance of this path
|
java.util.List<Instruction> |
getInstructions()
A list of
Instruction objects to display to the user when they are navigating |
Coordinate[] |
getPath()
Returns the Coordinates making up the path
|
public Coordinate[] getPath()
Coordinate
objectspublic java.util.List<Instruction> getInstructions()
Instruction
objects to display to the user when they are navigatingpublic float getDistance()