TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
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 Point & operator[] (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.

Here is the call graph for this function:

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:
  • C:/Users/berni/Development/torcs_git/torcs-code/torcs/torcs/src/modules/simu/simuv2/SOLID-2.0/src/Polygon.h
  • C:/Users/berni/Development/torcs_git/torcs-code/torcs/torcs/src/modules/simu/simuv2/SOLID-2.0/src/Polygon.cpp