TORCS  1.3.9
The Open Racing Car Simulator
Convex.h File Reference
#include <3D/Point.h>
#include "Shape.h"
#include "BBox.h"
#include "Transform.h"
Include dependency graph for Convex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Convex
 

Functions

bool intersect (const Convex &a, const Convex &b, const Transform &a2w, const Transform &b2w, Vector &v)
 
bool intersect (const Convex &a, const Convex &b, const Transform &b2a, Vector &v)
 
bool common_point (const Convex &a, const Convex &b, const Transform &a2w, const Transform &b2w, Vector &v, Point &pa, Point &pb)
 
bool common_point (const Convex &a, const Convex &b, const Transform &b2a, Vector &v, Point &pa, Point &pb)
 
void closest_points (const Convex &, const Convex &, const Transform &, const Transform &, Point &, Point &)
 

Function Documentation

◆ closest_points()

void closest_points ( const Convex ,
const Convex ,
const Transform ,
const Transform ,
Point ,
Point  
)

Definition at line 386 of file Convex.cpp.

Here is the call graph for this function:

◆ common_point() [1/2]

bool common_point ( const Convex a,
const Convex b,
const Transform a2w,
const Transform b2w,
Vector v,
Point pa,
Point pb 
)

Definition at line 296 of file Convex.cpp.

Here is the call graph for this function:

◆ common_point() [2/2]

bool common_point ( const Convex a,
const Convex b,
const Transform b2a,
Vector v,
Point pa,
Point pb 
)

Definition at line 339 of file Convex.cpp.

Here is the call graph for this function:

◆ intersect() [1/2]

bool intersect ( const Convex a,
const Convex b,
const Transform a2w,
const Transform b2w,
Vector v 
)

Definition at line 212 of file Convex.cpp.

Here is the call graph for this function:

◆ intersect() [2/2]

bool intersect ( const Convex a,
const Convex b,
const Transform b2a,
Vector v 
)

Definition at line 253 of file Convex.cpp.

Here is the call graph for this function: