torcs - 1.2.2

src/modules/track/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:

Include dependency graph

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

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

Here is the call graph for this function:

tdble TrackHeightG tTrackSeg seg,
tdble  x,
tdble  y
 

Here is the call graph for this function:

tdble TrackHeightL tTrkLocPos p  ) 
 

Here is the call graph for this function:

void TrackLocal2Global tTrkLocPos p,
tdble X,
tdble Y
 

Here is the call graph for this function:

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

Here is the call graph for this function:

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

void TrackSurfaceNormal tTrkLocPos p,
t3Dd norm
 

Here is the call graph for this function:


Generated at Thu Feb 26 21:53:56 2004 for torcs by doxygen 1.3.3 written by Dimitri van Heesch, © 1997-1999
TORCS © Eric Espié 1999, 2002.