TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
tTrackGeoreference Struct Reference

Optional v4 geographic reference at the main road centre at the start of the first segment (seg->next). More...

#include <track.h>

Public Attributes

tdble latitude
 Degrees north, [-90, 90].
tdble longitude
 Degrees east, [-180, 180].
tdble altitude
 Metres above mean sea level at reference road centre.
tdble heading
 Radians clockwise from true north, [0, 2*pi)
int hasLocation
 Both latitude and longitude are available.
int hasAltitude
int hasHeading

Detailed Description

Optional v4 geographic reference at the main road centre at the start of the first segment (seg->next).

Position is WGS84; altitude is mean sea level. Missing data is indicated by flags, never by a numeric zero.

Definition at line 518 of file track.h.

Member Data Documentation

◆ altitude

tdble tTrackGeoreference::altitude

Metres above mean sea level at reference road centre.

Definition at line 522 of file track.h.

◆ hasAltitude

int tTrackGeoreference::hasAltitude

Definition at line 525 of file track.h.

◆ hasHeading

int tTrackGeoreference::hasHeading

Definition at line 526 of file track.h.

◆ hasLocation

int tTrackGeoreference::hasLocation

Both latitude and longitude are available.

Definition at line 524 of file track.h.

◆ heading

tdble tTrackGeoreference::heading

Radians clockwise from true north, [0, 2*pi)

Definition at line 523 of file track.h.

◆ latitude

tdble tTrackGeoreference::latitude

Degrees north, [-90, 90].

Definition at line 520 of file track.h.

◆ longitude

tdble tTrackGeoreference::longitude

Degrees east, [-180, 180].

Definition at line 521 of file track.h.


The documentation for this struct was generated from the following file:
  • C:/Users/berni/Development/torcs_git/torcs-code/torcs/torcs/src/interfaces/track.h