CartoType .NET API 8.8-7-gb35e4dc71
for development in C#, Visual Basic and other .NET languages
Properties | List of all members
CartoType::NearestSegmentInfo Class Reference

Information about the nearest route segment to a point. More...

#include <CartoTypeWrapper.h>

Properties

int SegmentIndex
 The index of the segment in the Route object, or -1 if there were no segments.
 
int LineIndex
 The index of the line within the segment's path: line N goes from point N to point N + 1.
 
double NearestPointX
 The point in the segment's path nearest to the other point, in map coordinates.
 
double NearestPointY
 The point in the segment's path nearest to the other point, in map coordinates.
 
double DistanceToRoute
 The distance from the other point to iNearestPoint in meters.
 
double DistanceAlongRoute
 The distance of the nearest point along the route in meters.
 
double DistanceAlongSegment
 The distance within the current segment in meters.
 
double TimeAlongRoute
 The estimated time of the nearest point, along the route, in seconds.
 
double TimeAlongSegment
 The estimated time within the current segment, in seconds.
 
double Heading
 The heading of the nearest line as a map angle taken anti-clockwise from rightwards.
 

Detailed Description

Information about the nearest route segment to a point.


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