CartoType Android API 7.8.2, 2022-03-25
for Java development on Android
Public Attributes | List of all members
com.cartotype.NearestRoadInfo Class Reference

Public Attributes

int iRoadType
 
double iMaxSpeed
 
String iName
 
String iRef
 
double iNearestPointX
 
double iNearestPointY
 
double iDistance
 
double iHeadingInDegrees
 
double iHeadingVectorX
 
double iHeadingVectorY
 

Detailed Description

Information about the nearest road to a certain point. It is returned by Framework.getNearestRoad.

Member Data Documentation

◆ iDistance

double com.cartotype.NearestRoadInfo.iDistance

The distance from the chosen point to iNearestPoint in meters.

◆ iHeadingInDegrees

double com.cartotype.NearestRoadInfo.iHeadingInDegrees

The heading of the nearest segment in degrees.

◆ iHeadingVectorX

double com.cartotype.NearestRoadInfo.iHeadingVectorX

The x coordinate of the heading of the nearest segment as a unit vector.

◆ iHeadingVectorY

double com.cartotype.NearestRoadInfo.iHeadingVectorY

The x coordinate of the heading of the nearest segment as a unit vector.

◆ iMaxSpeed

double com.cartotype.NearestRoadInfo.iMaxSpeed

The maximum legal speed in kilometres per hour. A value of zero means there is no known speed limit, or the standard speed limit for the type of road applies.

◆ iName

String com.cartotype.NearestRoadInfo.iName

The standard name of the road.

◆ iNearestPointX

double com.cartotype.NearestRoadInfo.iNearestPointX

The x coordinate of the nearest point on the road, in map coordinates, to the chosen point.

◆ iNearestPointY

double com.cartotype.NearestRoadInfo.iNearestPointY

The y coordinate of the nearest point on the road, in map coordinates, to the chosen point.

◆ iRef

String com.cartotype.NearestRoadInfo.iRef

The road reference of the road.

◆ iRoadType

int com.cartotype.NearestRoadInfo.iRoadType

The road type of the arc.


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