CartoType API
Public Attributes
CartoType::Router::TNearestSegmentInfo Class Reference

#include <cartotype_router.h>

List of all members.

Public Attributes

int32 iSegmentIndex
int32 iLineIndex
TPoint iNearestPoint
int32 iDistance

Detailed Description

Information about the nearest route segment to a point.


Member Data Documentation

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.


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