TORCS  1.3.9
The Open Racing Car Simulator
Polygon Class Reference

#include <Polygon.h>

Inheritance diagram for Polygon:
Collaboration diagram for Polygon:

Public Member Functions

 Polygon (const VertexBase &b, int c, const unsigned int v[])
 
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

int ci
 

Detailed Description

Definition at line 36 of file Polygon.h.

Constructor & Destructor Documentation

◆ Polygon()

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

Definition at line 38 of file Polygon.h.

Member Function Documentation

◆ support()

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

Implements Polytope.

Definition at line 33 of file Polygon.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ ci

int Polygon::ci
mutableprivate

Definition at line 44 of file Polygon.h.


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