![]() |
DriveWorks SDK Reference| 0.6.67 Release |
Structs that define the map data.
Data Structures | |
struct | dwMapsFeature |
Road feature defined by a polyline, with attributes. More... | |
struct | dwMapsGeoPoint |
Point defined by WGS84 coordinates. More... | |
struct | dwMapsGeoPolyline |
Polyline defined by a dwMapsGeoPoint list. More... | |
struct | dwMapsLane |
Lane defined by a polyline, with lane attributes. More... | |
struct | dwMapsLaneConnection |
Lane connection. More... | |
struct | dwMapsLaneDivider |
Lane divider defined by a polyline, with type, material and color information. More... | |
struct | dwMapsLaneDividerGroup |
Group of lane dividers, representing one boundary of a lane. More... | |
struct | dwMapsLaneDividerGroupId |
Global identifier for lane divider groups. More... | |
struct | dwMapsLaneDividerLine |
Lane divider line defined by two points and the owner of a line. More... | |
struct | dwMapsLaneId |
Global identifier for lanes. More... | |
struct | dwMapsLine |
Line defined by 2 points in user defined coordinates. More... | |
struct | dwMapsRoadSegment |
Road segment representing a piece of the road. More... | |
struct | dwMapsRoadSegmentConnection |
Road segment connection. More... | |
struct | dwMapsRoadSegmentId |
Global identifier for road segments. More... | |
Macros | |
#define | DW_MAPS_MAX_LANE_CONNECTIONS 100 |
struct dwMapsFeature |
Data Fields | ||
---|---|---|
dwMapsGeoPolyline | geometry | set of points representing a feature |
uint64_t | id | unique id of a feature |
const dwMapsRoadSegment * | roadSegment | parent road segment |
uint32_t | type | type of a feature |
struct dwMapsGeoPoint |
struct dwMapsGeoPolyline |
Data Fields | ||
---|---|---|
uint32_t | pointCount | number of points defining the polyline |
const dwMapsGeoPoint * | points | pointer to polyline point array |
struct dwMapsLane |
Data Fields | ||
---|---|---|
dwMapsDirection | drivingDirection | driving direction compared to geometry polyline order |
dwMapsGeoPolyline | geometry | polyline for lane centerline |
dwMapsLaneId | id | global id of the lane |
const dwMapsLaneDividerGroup * | laneDividerGroups[2] | lane divider groups at the 2 lane boundaries |
const dwMapsLaneConnection * | next | pointer to lane connections at lane end |
uint32_t | nextCount | number of lane connections at lane end |
const dwMapsLaneConnection * | previous | pointer to lane connections at lane start |
uint32_t | previousCount | number of lane connections at lane start |
const dwMapsRoadSegment * | roadSegment | parent road segment |
uint32_t | speedLimit | current speed limit. 0 if unknown. |
dwMapsLaneType | type | lane type |
struct dwMapsLaneConnection |
Data Fields | ||
---|---|---|
const dwMapsLane * | lane |
pointer to the connected lane. can be nullptr if that lane is not in memory. |
dwMapsLaneId | laneId | id of the connected lane. |
dwBool | sameDirection |
indicates whether the connected segment is oriented the same way. that is, start of the previous segment connects to the end of the connected segment. |
struct dwMapsLaneDivider |
Data Fields | ||
---|---|---|
dwMapsColor | color | lane divider color |
dwMapsGeoPolyline | geometry | polyline defining the geometry of the lane divider |
const dwMapsLaneDividerGroup * | group | parent lane divider group |
dwMapsMaterial | material | lane divider material |
dwMapsLaneDividerType | type | lane divider type |
struct dwMapsLaneDividerGroup |
Data Fields | ||
---|---|---|
dwMapsLaneDividerGroupId | id | global id of the group |
uint32_t | laneDividerCount | number of lane dividers in group |
const dwMapsLaneDivider * | laneDividers | pointer to lane divider array |
const dwMapsRoadSegment * | roadSegment | parent road segment |
struct dwMapsLaneDividerGroupId |
struct dwMapsLaneDividerLine |
Data Fields | ||
---|---|---|
const dwMapsLaneDivider * | divider | owner of a line |
dwVector3f | p[2] | start and end point of the line. |
struct dwMapsLaneId |
struct dwMapsLine |
Data Fields | ||
---|---|---|
dwVector3f | p[2] | start and end point of the line. |
struct dwMapsRoadSegment |
Data Fields | ||
---|---|---|
uint32_t | featureCount | number of features in this segment |
const dwMapsFeature * | features | pointer to features of this segment |
dwMapsRoadSegmentId | id | global id of the road segment |
uint32_t | laneCount | number of lanes in this segment |
uint32_t | laneDividerGroupCount | number of lane divider groups in this segment |
const dwMapsLaneDividerGroup * | laneDividerGroups | pointer to lane divider group array of this segment |
const dwMapsLane * | lanes | pointer to lane array of this segment |
const dwMapsRoadSegmentConnection * | next | pointer to road segment connections at segment end |
uint32_t | nextCount | number of segment connections at segment end |
const dwMapsRoadSegmentConnection * | previous | pointer to road segment connections at segment start |
uint32_t | previousCount | number of segment connections at segment start |
uint32_t | type | road segment type |
struct dwMapsRoadSegmentConnection |
Data Fields | ||
---|---|---|
dwBool | sameDirection |
indicates whether the connected segment is oriented the same way. that is, start of the previous segment connects to the end of the connected segment. |
const dwMapsRoadSegment * | segment |
pointer to the connected road segment. can be nullptr if that segment is not in memory. |
dwMapsRoadSegmentId | segmentId | id of the connected road segment. |
struct dwMapsRoadSegmentId |
enum dwMapsColor |
enum dwMapsDirection |
enum dwMapsFeatureType |
Lane divider type and filter values.
enum dwMapsLaneGeometry |
enum dwMapsLaneType |
Lane types.
enum dwMapsMaterial |
Road segment types.
enum dwMapsSide |