TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
trackutil.cpp File Reference
#include <stdlib.h>
#include <math.h>
#include <tgf.h>
#include <track.h>
#include <robottools.h>
Include dependency graph for trackutil.cpp:

Go to the source code of this file.

Functions

void TrackLocal2Global (tTrkLocPos *p, tdble *X, tdble *Y)
void TrackGlobal2Local (tTrackSeg *segment, tdble X, tdble Y, tTrkLocPos *p, int type)
tdble TrackHeightL (tTrkLocPos *p)
tdble TrackHeightG (tTrackSeg *seg, tdble x, tdble y)
void TrackSideNormal (tTrackSeg *seg, tdble x, tdble y, int side, t3Dd *norm)
void TrackSurfaceNormal (tTrkLocPos *p, t3Dd *norm)
tdble TrackSpline (tdble p0, tdble p1, tdble t0, tdble t1, tdble t)

Function Documentation

◆ TrackGlobal2Local()

void TrackGlobal2Local ( tTrackSeg * segment,
tdble X,
tdble Y,
tTrkLocPos * p,
int type )

Definition at line 36 of file trackutil.cpp.

Here is the call graph for this function:

◆ TrackHeightG()

tdble TrackHeightG ( tTrackSeg * seg,
tdble x,
tdble y )

Definition at line 61 of file trackutil.cpp.

Here is the call graph for this function:

◆ TrackHeightL()

tdble TrackHeightL ( tTrkLocPos * p)

Definition at line 55 of file trackutil.cpp.

Here is the call graph for this function:

◆ TrackLocal2Global()

void TrackLocal2Global ( tTrkLocPos * p,
tdble * X,
tdble * Y )

Definition at line 29 of file trackutil.cpp.

Here is the call graph for this function:

◆ TrackSideNormal()

void TrackSideNormal ( tTrackSeg * seg,
tdble x,
tdble y,
int side,
t3Dd * norm )

Definition at line 67 of file trackutil.cpp.

Here is the call graph for this function:

◆ TrackSpline()

tdble TrackSpline ( tdble p0,
tdble p1,
tdble t0,
tdble t1,
tdble t )

Definition at line 79 of file trackutil.cpp.

◆ TrackSurfaceNormal()

void TrackSurfaceNormal ( tTrkLocPos * p,
t3Dd * norm )

Definition at line 73 of file trackutil.cpp.

Here is the call graph for this function: