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 | |
int32_t | iSegmentIndex = -1 |
int32_t | iLineIndex = 0 |
TPointFP | iNearestPoint |
double | iDistanceToRoute = 0 |
double | iDistanceAlongRoute = 0 |
double | iDistanceAlongSegment = 0 |
double | iTimeAlongRoute = 0 |
double | iTimeAlongSegment = 0 |
double | iHeading = 0 |
Information about the nearest route segment to a point.
double CartoType::TNearestSegmentInfo::iDistanceAlongRoute = 0 |
The distance of the nearest point along the route in meters.
double CartoType::TNearestSegmentInfo::iDistanceAlongSegment = 0 |
The distance within the current segment in meters.
double CartoType::TNearestSegmentInfo::iDistanceToRoute = 0 |
The distance from the other point to iNearestPoint in meters.
double CartoType::TNearestSegmentInfo::iHeading = 0 |
The heading of the nearest line as a map angle taken anti-clockwise from rightwards.
int32_t CartoType::TNearestSegmentInfo::iLineIndex = 0 |
The index of the line within the segment's path: line N goes from point N to point N + 1.
TPointFP CartoType::TNearestSegmentInfo::iNearestPoint |
The point in the segment's path nearest to the other point, in map coordinates.
int32_t CartoType::TNearestSegmentInfo::iSegmentIndex = -1 |
The index of the segment in the CRoute object, or -1 if there were no segments.
double CartoType::TNearestSegmentInfo::iTimeAlongRoute = 0 |
The estimated time of the nearest point, along the route, in seconds.
double CartoType::TNearestSegmentInfo::iTimeAlongSegment = 0 |
The estimated time within the current segment, in seconds.