![]() |
torcs - 1.2.2 | ![]() |
#include <track.h>
Collaboration diagram for trackSeg:
Public Attributes | |
char * | name |
Segment name. | |
int | id |
Segment number. | |
int | type |
Geometrical type:
| |
int | type2 |
Position type:
| |
int | style |
Border and barrier segments style:
| |
tdble | length |
Length in meters of the middle of the track. | |
tdble | width |
Width of the segment (if constant width). | |
tdble | startWidth |
Width of the beginning of the segment. | |
tdble | endWidth |
Width of the end of the segment. | |
tdble | lgfromstart |
Length of begining of segment from starting line. | |
tdble | radius |
Radius in meters of the middle of the track (>0). | |
tdble | radiusr |
Radius in meters of the right side of the track (>0). | |
tdble | radiusl |
Radius in meters of the left side of the track (>0). | |
tdble | arc |
Arc in rad of the curve (>0). | |
t3Dd | center |
Center of the curve. | |
t3Dd | vertex [4] |
Coord of the 4 corners of the segment. | |
tdble | angle [7] |
tdble | Kzl |
tdble | Kzw |
tdble | Kyl |
t3Dd | rgtSideNormal |
int | envIndex |
tdble | height |
Max height for curbs. | |
unsigned int | raceInfo |
Type of segment regarding the race: Mask value in:
| |
tdble | DoVfactor |
tSegExt * | ext |
tTrackSurface * | surface |
Segment surface. | |
tTrackBarrier * | barrier [2] |
Segment barriers. | |
tRoadCam * | cam |
trackSeg * | next |
Next segment. | |
trackSeg * | prev |
Previous segment. | |
trackSeg * | lside |
Segment on the left. | |
trackSeg * | rside |
Segment on the right. |
|
|
|
Arc in rad of the curve (>0).
|
|
Segment barriers.
|
|
|
|
Center of the curve.
|
|
|
|
Width of the end of the segment.
|
|
|
|
|
|
Max height for curbs.
|
|
Segment number.
|
|
|
|
|
|
|
|
Length in meters of the middle of the track.
|
|
Length of begining of segment from starting line.
|
|
Segment on the left.
|
|
Segment name.
|
|
Next segment.
|
|
Previous segment.
|
|
Type of segment regarding the race:
|
|
Radius in meters of the middle of the track (>0).
|
|
Radius in meters of the left side of the track (>0).
|
|
Radius in meters of the right side of the track (>0).
|
|
|
|
Segment on the right.
|
|
Width of the beginning of the segment.
|
|
Border and barrier segments style:
|
|
Segment surface.
|
|
Geometrical type:
|
|
Position type:
|
|
Coord of the 4 corners of the segment.
|
|
Width of the segment (if constant width).
|