Navigation SDK Documentation

Data Fields
SDK_CrossingView Struct Reference

Data Fields

SDK_HDRINFO size
 
SDK_HDRINFO version
 
SDK_INT4 Mode
 
SDK_INT4 StreetLeavingCount
 
union {
   SDK_INT4   ExitAnglesFixed [32]
 
   SDK_INT4   StreetLeaving [32]
 
}; 
 
SDK_INT2 OneWayStreet [32]
 
SDK_BOOL DrivingRHS
 
SDK_INT4 RoundaboutExitPoints [32]
 

Detailed Description

Description of the next maneuver (maneuver hint).

The union was introduced in late 2009. To be prepared for future extensions please use the right naming when accessing the members of the union!

Field Documentation

Size of the structure - for controlling

SDK_HDRINFO version

Version of the structure - for controlling. Use SDK_CrossingViewVERSION

SDK_INT4 Mode

Information of type Crossing view modes

SDK_INT4 StreetLeavingCount

Number of streets that leave this crossing.

SDK_INT4 ExitAnglesFixed[32]

Only for roundabout maneuvers: Direction (in degrees) to which the streets leave this crossing (counter-clockwise). 0 degree is in 12 o'clock position, 90 degrees is in 9 o'clock and so on. The last entry (StreetLeaving[StreetLeavingCount - 1]) is the one that indicates the exit angle.

SDK_INT4 StreetLeaving[32]

Only for regular maneuvers: Direction (in degrees) to which the streets leave this crossing (counter-clockwise). A 0 degree is in driving direction - 90 degrees, so 0 degrees indicates right, 90 degrees indicates straight, 180 degrees indicates left. The first entry (StreetLeaving[0]) indicates the street which the route is following.

SDK_INT2 OneWayStreet[32]

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

SDK_BOOL DrivingRHS

SDK_TRUE if driving in the right side, SDK_FALSE.

Bug:
This field may not be filled correctly within a major road network map
SDK_INT4 RoundaboutExitPoints[32]

This array is only used for roundabouts. For all other maneuvers, the values are all set to zero. The values indicate the position on the edge of a roundabout where a street leaves or joins the roundabout (counter-clockwise). A 0 degree is in driving direction - 90 degrees, so 0 degrees indicates right, 90 degrees indicates straight, 180 degrees indicates left. Potential negative values are already mapped by adding 360 degrees.

For further explanation please refer to the according FAQ.


The documentation for this struct was generated from the following file:

© PTV Group 2018 Generated on Mon Dec 17 2018 21:00:19 for NavigationSDK by doxygen 1.8.8