TORCS  1.3.9
The Open Racing Car Simulator
Polyhedron Class Reference

#include <Polyhedron.h>

Inheritance diagram for Polyhedron:
Collaboration diagram for Polyhedron:

Public Member Functions

 Polyhedron (const VertexBase &b, int c, const unsigned int v[])
 
 ~Polyhedron ()
 
Point support (const Vector &) const
 
- Public Member Functions inherited from Polytope
 Polytope (const VertexBase &b, int c, const unsigned int v[])
 
virtual ~Polytope ()
 
const Pointoperator[] (int i) const
 
int numVerts () const
 
- Public Member Functions inherited from Convex
ShapeType getType () const
 
virtual ~Convex ()
 
virtual BBox bbox (const Transform &t) const
 
- Public Member Functions inherited from Shape
virtual ~Shape ()
 

Private Attributes

IndexArraycobound
 
unsigned int curr_vertex
 

Detailed Description

Definition at line 37 of file Polyhedron.h.

Constructor & Destructor Documentation

◆ Polyhedron()

Polyhedron::Polyhedron ( const VertexBase b,
int  c,
const unsigned int  v[] 
)

Definition at line 124 of file Polyhedron.cpp.

◆ ~Polyhedron()

Polyhedron::~Polyhedron ( )

Definition at line 127 of file Polyhedron.cpp.

Member Function Documentation

◆ support()

Point Polyhedron::support ( const Vector v) const
virtual

Implements Polytope.

Definition at line 129 of file Polyhedron.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ cobound

IndexArray* Polyhedron::cobound
private

Definition at line 45 of file Polyhedron.h.

◆ curr_vertex

unsigned int Polyhedron::curr_vertex
mutableprivate

Definition at line 46 of file Polyhedron.h.


The documentation for this class was generated from the following files: