|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.visioglobe.libVisioDevKit.VgReferenced
com.visioglobe.libVisioDevKit.VgINavigationInstruction
public class VgINavigationInstruction
The VgINavigationListener allow users to be notified of Navigation related events that occur within a VgINavigation Object where the listener has been registered.
Field Summary |
---|
Fields inherited from class com.visioglobe.libVisioDevKit.VgReferenced |
---|
swigCMemOwn, swigRefPtr |
Constructor Summary | |
---|---|
VgINavigationInstruction(long cPtr,
boolean cMemoryOwn)
|
Method Summary | |
---|---|
void |
delete()
|
protected void |
finalize()
|
VgStringSet |
getAttributes()
Returns all the attributes of the traversed edges in a std::set. |
static long |
getCPtr(VgINavigationInstruction obj)
|
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()
|
Methods inherited from class com.visioglobe.libVisioDevKit.VgReferenced |
---|
getCPtr, getNbReferences, ref, unref |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VgINavigationInstruction(long cPtr, boolean cMemoryOwn)
Method Detail |
---|
public static long getCPtr(VgINavigationInstruction obj)
protected void finalize()
finalize
in class VgReferenced
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()
|
VisioDevKit 2.0, Visioglobe® 2013 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |