TORCS  1.3.9
The Open Racing Car Simulator
Object.cpp File Reference
#include "Object.h"
#include "AlgoTable.h"
#include "Convex.h"
#include "Complex.h"
#include <new>
Include dependency graph for Object.cpp:

Go to the source code of this file.

Typedefs

typedef AlgoTable< IntersectIntersectTable
 
typedef AlgoTable< Common_pointCommon_pointTable
 

Functions

bool intersectConvexConvex (const Shape &a, const Shape &b, const Transform &a2w, const Transform &b2w, Vector &v)
 
bool intersectComplexConvex (const Shape &a, const Shape &b, const Transform &a2w, const Transform &b2w, Vector &v)
 
bool intersectComplexComplex (const Shape &a, const Shape &b, const Transform &a2w, const Transform &b2w, Vector &v)
 
IntersectTableintersectInitialize ()
 
bool intersect (const Object &a, const Object &b, Vector &v)
 
bool common_pointConvexConvex (const Shape &a, const Shape &b, const Transform &a2w, const Transform &b2w, Vector &v, Point &pa, Point &pb)
 
bool common_pointComplexConvex (const Shape &a, const Shape &b, const Transform &a2w, const Transform &b2w, Vector &v, Point &pa, Point &pb)
 
bool common_pointComplexComplex (const Shape &a, const Shape &b, const Transform &a2w, const Transform &b2w, Vector &v, Point &pa, Point &pb)
 
Common_pointTablecommon_pointInitialize ()
 
bool common_point (const Object &a, const Object &b, Vector &v, Point &pa, Point &pb)
 
bool prev_closest_points (const Object &a, const Object &b, Vector &v, Point &pa, Point &pb)
 

Typedef Documentation

◆ Common_pointTable

Definition at line 69 of file Object.cpp.

◆ IntersectTable

Definition at line 68 of file Object.cpp.

Function Documentation

◆ common_point()

bool common_point ( const Object a,
const Object b,
Vector v,
Point pa,
Point pb 
)

Definition at line 131 of file Object.cpp.

Here is the call graph for this function:

◆ common_pointComplexComplex()

bool common_pointComplexComplex ( const Shape a,
const Shape b,
const Transform a2w,
const Transform b2w,
Vector v,
Point pa,
Point pb 
)

Definition at line 117 of file Object.cpp.

Here is the call graph for this function:

◆ common_pointComplexConvex()

bool common_pointComplexConvex ( const Shape a,
const Shape b,
const Transform a2w,
const Transform b2w,
Vector v,
Point pa,
Point pb 
)

Definition at line 111 of file Object.cpp.

Here is the call graph for this function:

◆ common_pointConvexConvex()

bool common_pointConvexConvex ( const Shape a,
const Shape b,
const Transform a2w,
const Transform b2w,
Vector v,
Point pa,
Point pb 
)

Definition at line 105 of file Object.cpp.

Here is the call graph for this function:

◆ common_pointInitialize()

Common_pointTable* common_pointInitialize ( )

Definition at line 123 of file Object.cpp.

Here is the call graph for this function:

◆ intersect()

bool intersect ( const Object a,
const Object b,
Vector v 
)

Definition at line 98 of file Object.cpp.

Here is the call graph for this function:

◆ intersectComplexComplex()

bool intersectComplexComplex ( const Shape a,
const Shape b,
const Transform a2w,
const Transform b2w,
Vector v 
)

Definition at line 84 of file Object.cpp.

Here is the call graph for this function:

◆ intersectComplexConvex()

bool intersectComplexConvex ( const Shape a,
const Shape b,
const Transform a2w,
const Transform b2w,
Vector v 
)

Definition at line 78 of file Object.cpp.

Here is the call graph for this function:

◆ intersectConvexConvex()

bool intersectConvexConvex ( const Shape a,
const Shape b,
const Transform a2w,
const Transform b2w,
Vector v 
)

Definition at line 72 of file Object.cpp.

Here is the call graph for this function:

◆ intersectInitialize()

IntersectTable* intersectInitialize ( )

Definition at line 90 of file Object.cpp.

Here is the call graph for this function:

◆ prev_closest_points()

bool prev_closest_points ( const Object a,
const Object b,
Vector v,
Point pa,
Point pb 
)

Definition at line 138 of file Object.cpp.

Here is the call graph for this function: