|
CartoType API
|
#include <cartotype_router.h>
Public Attributes | |
| int32 | iSegmentIndex |
| int32 | iLineIndex |
| TPoint | iNearestPoint |
| int32 | iDistance |
Information about the nearest route segment to a point.
The distance from the other point to iNearestPoint in map units (usually metres or 64ths of metres). Metres are used if the map data has been projected and the point format is EMetrePointFormat, which is the most common setting.
The index of the line within the segment's path: line N goes from point N to point N + 1.
The point in the segment's path nearest to the other point.
The index of the segment in the CRoute object, or -1 if there were no segments.
1.7.5.1