TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
Complex Class Reference

#include <Complex.h>

Inheritance diagram for Complex:
Collaboration diagram for Complex:

Public Member Functions

 Complex ()
 ~Complex ()
ShapeType getType () const
BBox bbox (const Transform &t) const
const VertexBase & getBase () const
void setBase (const Point *ptr, bool free=false)
void changeBase (const Point *ptr)
void proceed ()
void swapBase ()
void finish (int n, const Polytope **p)
Public Member Functions inherited from Shape
virtual ~Shape ()

Private Attributes

VertexBase base
VertexBase prev_base
bool free_base
BBoxLeaf * leaves
BBoxNode * root
int count

Friends

bool intersect (const Complex &a, const Convex &b, const Transform &a2w, const Transform &b2w, Vector &v)
bool intersect (const Complex &a, const Complex &b, const Transform &a2w, const Transform &b2w, Vector &v)
bool find_prim (const Complex &a, const Convex &b, const Transform &a2w, const Transform &b2w, Vector &v, ShapePtr &p)
bool find_prim (const Complex &a, const Complex &b, const Transform &a2w, const Transform &b2w, Vector &v, ShapePtr &pa, ShapePtr &pb)
bool common_point (const Complex &a, const Convex &b, const Transform &a2w, const Transform &b2w, Vector &v, Point &pa, Point &pb)
bool common_point (const Complex &a, const Complex &b, const Transform &a2w, const Transform &b2w, Vector &v, Point &pa, Point &pb)

Detailed Description

Definition at line 47 of file Complex.h.

Constructor & Destructor Documentation

◆ Complex()

Complex::Complex ( )
inline

Definition at line 49 of file Complex.h.

◆ ~Complex()

Complex::~Complex ( )

Definition at line 39 of file Complex.cpp.

Member Function Documentation

◆ bbox()

BBox Complex::bbox ( const Transform & t) const
virtual

Implements Shape.

Definition at line 49 of file Complex.cpp.

Here is the call graph for this function:

◆ changeBase()

void Complex::changeBase ( const Point * ptr)

Definition at line 59 of file Complex.cpp.

◆ finish()

void Complex::finish ( int n,
const Polytope ** p )

Definition at line 65 of file Complex.cpp.

Here is the call graph for this function:

◆ getBase()

const VertexBase & Complex::getBase ( ) const
inline

Definition at line 55 of file Complex.h.

◆ getType()

ShapeType Complex::getType ( ) const
inlinevirtual

Implements Shape.

Definition at line 52 of file Complex.h.

◆ proceed()

void Complex::proceed ( )
inline

Definition at line 60 of file Complex.h.

◆ setBase()

void Complex::setBase ( const Point * ptr,
bool free = false )
inline

Definition at line 56 of file Complex.h.

◆ swapBase()

void Complex::swapBase ( )
inline

Definition at line 61 of file Complex.h.

◆ common_point [1/2]

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

Definition at line 128 of file Complex.cpp.

◆ common_point [2/2]

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

Definition at line 119 of file Complex.cpp.

◆ find_prim [1/2]

bool find_prim ( const Complex & a,
const Complex & b,
const Transform & a2w,
const Transform & b2w,
Vector & v,
ShapePtr & pa,
ShapePtr & pb )
friend

Definition at line 108 of file Complex.cpp.

◆ find_prim [2/2]

bool find_prim ( const Complex & a,
const Convex & b,
const Transform & a2w,
const Transform & b2w,
Vector & v,
ShapePtr & p )
friend

Definition at line 99 of file Complex.cpp.

◆ intersect [1/2]

bool intersect ( const Complex & a,
const Complex & b,
const Transform & a2w,
const Transform & b2w,
Vector & v )
friend

Definition at line 88 of file Complex.cpp.

◆ intersect [2/2]

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

Definition at line 79 of file Complex.cpp.

Member Data Documentation

◆ base

VertexBase Complex::base
private

Definition at line 90 of file Complex.h.

◆ count

int Complex::count
private

Definition at line 95 of file Complex.h.

◆ free_base

bool Complex::free_base
private

Definition at line 92 of file Complex.h.

◆ leaves

BBoxLeaf* Complex::leaves
private

Definition at line 93 of file Complex.h.

◆ prev_base

VertexBase Complex::prev_base
private

Definition at line 91 of file Complex.h.

◆ root

BBoxNode* Complex::root
private

Definition at line 94 of file Complex.h.


The documentation for this class was generated from the following files:
  • C:/Users/berni/Development/torcs_git/torcs-code/torcs/torcs/src/modules/simu/simuv2/SOLID-2.0/src/Complex.h
  • C:/Users/berni/Development/torcs_git/torcs-code/torcs/torcs/src/modules/simu/simuv2/SOLID-2.0/src/Complex.cpp