|
CartoType UWP API 9.6-4-g79291b60b
for development in C#, VB.NET and C++
|
Information about the nearest road to a certain point. More...
#include <CartoTypeWrapper.h>
Properties | |
| FeatureInfo^ | FeatureInfo |
| 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. | |
Information about the nearest road to a certain point.