public class VgINavigationInstruction extends VgReferenced
Modifier and Type | Method and Description |
---|---|
void |
delete() |
VgStringSet |
getAttributes()
Returns all the attributes of the traversed edges in a std::set.
|
float |
getDuration()
Gets the duration.
|
float |
getETA()
Gets the estimated remaining time in seconds (at start of this instruction).
|
long |
getIndex()
Gets the index of the instruction, the index is 0-based, thus
always less than VgINavigation->getNumInstructions().
|
VgPositionVector |
getInstructionPositions()
Returns all the intermediate positions of the instruction.
|
java.lang.String |
getLayer()
Gets the layer name of the instruction.
|
double |
getLength()
Gets the distance between start of this instruction to the start of the next instruction.
|
VgManeuverType |
getManeuverType()
Gets the maneuver type to perform at end of the instruction.
|
java.lang.String |
getModality()
Gets the name of the used modality.
|
VgNearPlaceVector |
getNearPlaces()
Get the PlaceIDs of places near the end of the instruction.
|
VgPosition |
getPosition()
Gets the position of the start of the instruction
|
float |
getTime()
Gets the time (not duration) relative to full route start.
|
float |
getTotalTime()
Gets the total duration of the route.
|
boolean |
isEndOrTransitionPoint() |
getNbReferences, ref, unref
public void delete()
delete
in class VgReferenced
public double getLength()
public VgManeuverType getManeuverType()
public java.lang.String getLayer()
public java.lang.String getModality()
public float getTime()
public float getTotalTime()
public float getETA()
public float getDuration()
public long getIndex()
public VgPosition getPosition()
public VgNearPlaceVector getNearPlaces()
public boolean isEndOrTransitionPoint()
public VgPositionVector getInstructionPositions()
public VgStringSet getAttributes()