CartoType iOS API 7.8.2, 2022-03-25
for development in Swift and Objective C for iOS and Mac OS
Properties | List of all members
CartoTypeNearestRoadInfo Class Reference

#import <CartoTypeRouter.h>

Inheritance diagram for CartoTypeNearestRoadInfo:

Properties

CartoTypeRoadType roadType
 
double maxSpeed
 
NSString * name
 
NSString * ref
 
CartoTypePoint nearestPoint
 
double distance
 
double headingInDegrees
 
CartoTypePoint headingVector
 

Detailed Description

Information about the nearest road to a point.

Property Documentation

◆ distance

- (double) distance
readwritenonatomicassign

The distance from the chosen point to the nearest point in meters.

◆ headingInDegrees

- (double) headingInDegrees
readwritenonatomicassign

The heading of the nearest segment in degrees.

◆ headingVector

- (CartoTypePoint) headingVector
readwritenonatomicassign

The heading of the nearest segment as a unit vector.

◆ maxSpeed

- (double) maxSpeed
readwritenonatomicassign

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.

◆ name

- (NSString*) name
readwritenonatomicstrong

The standard name of the road.

◆ nearestPoint

- (CartoTypePoint) nearestPoint
readwritenonatomicassign

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

◆ ref

- (NSString*) ref
readwritenonatomicstrong

The road reference of the road.

◆ roadType

- (CartoTypeRoadType) roadType
readwritenonatomicassign

The road type of the arc.


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