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

Information about the nearest road to a certain point. More...

#include <CartoTypeWrapper.h>

Properties

FeatureInfoFeatureInfo
 The feature info of the road.
 
String^ Name
 The standard name of the road.
 
String^ Ref
 The road reference of the road.
 
double NearestPointX
 The x coordinate of the nearest point on the road, in map coordinates, to the chosen point.
 
double NearestPointY
 The y coordinate of the nearest point on the road, in map coordinates, to the chosen point.
 
double Distance
 The distance from the chosen point to the nearest point in meters.
 
double HeadingInDegrees
 The heading of the nearest segment in degrees.
 
double HeadingVectorX
 The x coordinate of the heading of the nearest segment as a unit vector.
 
double HeadingVectorY
 The y coordinate of the heading of the nearest segment as a unit vector.
 
SideOfRoad SideOfRoad
 The side of the road on which the selected point lies, or SideOfRoad.None if the vehicle heading is not supplied. It is Left if the heading vector is left of a vector from the chosen point to the nearest point on the road, otherwise Right. Another way to understand it is: if the road as seen by the driver of the vehicle is to the left, the side of the road is Right, and vice versa.
 

Detailed Description

Information about the nearest road to a certain point.


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