public class CrossingView
extends java.lang.Object
NavigationSDK.getGuidanceInformation(GPSData)
is called.
getMode()
.
getStreetLeaving()
.
getExitAnglesFixed()
and
getRoundaboutExitPoints()
.Modifier and Type | Field and Description |
---|---|
protected boolean |
jniCMemOwn |
protected long |
jniCPtr |
com.ptvag.navigation.sdk.NativeObject |
parent |
Constructor and Description |
---|
CrossingView()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
delete()
Kills rubbish if owning the object.
|
protected void |
finalize() |
static long |
getCPtr(com.ptvag.navigation.sdk.NativeObject obj) |
boolean |
getDrivingRHS() |
int[] |
getExitAnglesFixed()
Returns the exitAnglesFixed value.
|
CrossingViewMode |
getMode()
Returns the information of type CrossingViewMode
|
short[] |
getOneWayStreet()
Returns the following information:
One way flag: a bitfield (0: both directions are allowed,
1: One way street in direction of driving;
2: one way street against direction of driving,
3: street blocked in all directions
|
int[] |
getRoundaboutExitPoints()
This array is only used for roundabouts.
|
int[] |
getStreetLeaving()
Returns the streetleaving value.
|
int |
getStreetLeavingCount()
Returns the number of streets that leave this crossing.
|
void |
setDrivingRHS(boolean drivingRHS)
Sets the driving in the right side information.
|
void |
setExitAnglesFixed(int[] exitAnglesFixed)
Sets the exitAnglesFixed value.
|
void |
setMode(CrossingViewMode mode)
Sets the information of the CrossingViewMode type.
|
void |
setOneWayStreet(short[] oneWayStreet)
Sets the one way flag.
|
void |
setRoundaboutExitPoints(int[] roundaboutExitPoints)
Sets the value indicating the position on the edge of a roundabout where a
street leaves or joins the roundabout (counter-clockwise).
|
void |
setStreetLeaving(int[] streetLeaving)
Sets the streetleaving value.
|
void |
setStreetLeavingCount(int streetLeavingCount)
Sets the number of streets that leave this crossing.
|
protected long jniCPtr
protected boolean jniCMemOwn
public com.ptvag.navigation.sdk.NativeObject parent
public CrossingViewMode getMode()
public void setMode(CrossingViewMode mode)
mode
- the mode to set.public int getStreetLeavingCount()
public void setStreetLeavingCount(int streetLeavingCount)
streetLeavingCount
- the number of streets that leave this crossing:public int[] getExitAnglesFixed()
public void setExitAnglesFixed(int[] exitAnglesFixed)
exitAnglesFixed
- - the exitAnglesFixed value.public int[] getStreetLeaving()
public void setStreetLeaving(int[] streetLeaving)
streetLeaving
- - the streetleaving value.public short[] getOneWayStreet()
public void setOneWayStreet(short[] oneWayStreet)
oneWayStreet
- the one way flag.public boolean getDrivingRHS()
public void setDrivingRHS(boolean drivingRHS)
drivingRHS
- true if driving in the right side - else false.public int[] getRoundaboutExitPoints()
public void setRoundaboutExitPoints(int[] roundaboutExitPoints)
roundaboutExitPoints
- the roundabout exit points to setpublic static long getCPtr(com.ptvag.navigation.sdk.NativeObject obj)
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public void delete()