torcs - 1.2.2

tTrkLocPos Struct Reference

#include <track.h>

Collaboration diagram for tTrkLocPos:

Collaboration graph
[legend]
List of all members.

Detailed Description

Location on the track in local coordinates.


Public Attributes

tTrackSegseg
 Track segment.

int type
 Type of description:
  • TR_LPOS_MAIN
  • TR_LPOS_SEGMENT
  • TR_LPOS_TRACK.


tdble toStart
 Distance to start of segment (or arc if turn).

tdble toRight
 Distance to right side of segment (+ to inside of track - to outside).

tdble toMiddle
 Distance to middle of segment (+ to left - to right).

tdble toLeft
 Distance to left side of segment (+ to inside of track - to outside).


Member Data Documentation

tTrackSeg* tTrkLocPos::seg
 

Track segment.

tdble tTrkLocPos::toLeft
 

Distance to left side of segment (+ to inside of track - to outside).

tdble tTrkLocPos::toMiddle
 

Distance to middle of segment (+ to left - to right).

tdble tTrkLocPos::toRight
 

Distance to right side of segment (+ to inside of track - to outside).

tdble tTrkLocPos::toStart
 

Distance to start of segment (or arc if turn).

int tTrkLocPos::type
 

Type of description:

  • TR_LPOS_MAIN
  • TR_LPOS_SEGMENT
  • TR_LPOS_TRACK.


The documentation for this struct was generated from the following file:
Generated at Thu Feb 26 21:54:17 2004 for torcs by doxygen 1.3.3 written by Dimitri van Heesch, © 1997-1999
TORCS © Eric Espié 1999, 2002.