CartoType .NET API 7.8.2, 2022-03-25
for development in C#, Visual Basic and other .NET languages
Public Attributes | List of all members
CartoType::NearestSegmentInfo Class Reference

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

#include <CartoTypeWrapper.h>

Public Attributes

int m_segment_index
 The index of the segment in the CRoute object, or -1 if there were no segments.
 
int m_line_index
 The index of the line within the segment's path: line N goes from point N to point N + 1.
 
double m_nearest_point_x
 The point in the segment's path nearest to the other point, in map coordinates.
 
double m_nearest_point_y
 The point in the segment's path nearest to the other point, in map coordinates.
 
double m_distance_to_route
 The distance from the other point to iNearestPoint in meters.
 
double m_distance_along_route
 The distance of the nearest point along the route in meters.
 
double m_distance_along_segment
 The distance within the current segment in meters.
 
double m_time_along_route
 The estimated time of the nearest point, along the route, in seconds.
 
double m_time_along_segment
 The estimated time within the current segment, in seconds.
 
double m_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: