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

#include <Sphere.h>

Inheritance diagram for Sphere:
Collaboration diagram for Sphere:

Public Member Functions

 Sphere (Scalar r)
Point support (const Vector &) 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 ()

Protected Attributes

Scalar radius

Detailed Description

Definition at line 36 of file Sphere.h.

Constructor & Destructor Documentation

◆ Sphere()

Sphere::Sphere ( Scalar r)
inline

Definition at line 38 of file Sphere.h.

Member Function Documentation

◆ support()

Point Sphere::support ( const Vector & v) const
virtual

Implements Convex.

Definition at line 33 of file Sphere.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ radius

Scalar Sphere::radius
protected

Definition at line 43 of file Sphere.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/Sphere.h
  • C:/Users/berni/Development/torcs_git/torcs-code/torcs/torcs/src/modules/simu/simuv2/SOLID-2.0/src/Sphere.cpp