|
CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_navigation.h>
Public Attributes | |
| TRoadType | iRoadType = TRoadType::UnknownMajor |
| double | iMaxSpeed = 0 |
| CString | iName |
| CString | iRef |
| TPoint | iNearestPoint |
| double | iDistance = 0 |
| double | iHeadingInDegrees = 0 |
| TPointFP | iHeadingVector |
| CContour | iPath |
| bool | iOneWay = false |
Information about the nearest road (in fact, the nearest routable map object) to a certain point.
| double CartoType::TNearestRoadInfo::iDistance = 0 |
The distance from the chosen point to iNearestPoint in meters.
| double CartoType::TNearestRoadInfo::iHeadingInDegrees = 0 |
The heading of the nearest segment in degrees.
| TPointFP CartoType::TNearestRoadInfo::iHeadingVector |
The heading of the nearest segment as a unit vector.
| double CartoType::TNearestRoadInfo::iMaxSpeed = 0 |
The maximum legal speed in kilometres per hour. A value of zero means there is no known speed limit, or the standard speed limit for the type of road applies.
| CString CartoType::TNearestRoadInfo::iName |
The standard name of the road.
| TPoint CartoType::TNearestRoadInfo::iNearestPoint |
The nearest point on the road, in map coordinates, to the chosen point.
| bool CartoType::TNearestRoadInfo::iOneWay = false |
True if the road is one-way.
| CContour CartoType::TNearestRoadInfo::iPath |
The road's geometry in map coordinates. The road is guaranteed to be traversible in the direction of iPath.
| CString CartoType::TNearestRoadInfo::iRef |
The road reference of the road.
| TRoadType CartoType::TNearestRoadInfo::iRoadType = TRoadType::UnknownMajor |
The road type.