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

Information about a turn through a junction. More...

#include <CartoTypeWrapper.h>

Public Member Functions

 Turn ()
 Creates a Turn object.
 
void Clear ()
 Clears the data from a Turn object, returning it to its newly constructed state.
 
String ^ TurnCommand ()
 Gets a command in the current locale's language describing the turn.
 

Public Attributes

TurnType m_turn_type
 The turn type: ahead, left, right, etc.
 
bool m_continue
 True if this turn is a continuation of the current road and no notification is needed.
 
RoundaboutState m_roundabout_state
 The roundabout state.
 
double m_turn_angle
 The turn angle: 0 = straight ahead; negative = left, positive = right.
 
int m_exit_number
 The junction to take, counting the current junction as 0, if this junction is part of a roundabout.
 
double m_distance
 The distance to the turn in metres.
 
double m_time
 The estimated time to the turn in seconds.
 
String ^ m_from_name
 The name of the road before the turn.
 
String ^ m_from_ref
 The reference code (e.g., B4009) of the road before the turn.
 
String ^ m_to_name
 The name of the road after the turn.
 
String ^ m_to_ref
 The reference code (e.g., B4009) of the road after the turn.
 
String ^ m_instructions
 Instructions for the turn, in the current locale's language.
 

Detailed Description

Information about a turn through a junction.


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