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

#include <Cone.h>

Inheritance diagram for Cone:
Collaboration diagram for Cone:

Public Member Functions

 Cone (Scalar r, Scalar h)
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 bottomRadius
Scalar halfHeight
Scalar sinAngle

Detailed Description

Definition at line 36 of file Cone.h.

Constructor & Destructor Documentation

◆ Cone()

Cone::Cone ( Scalar r,
Scalar h )
inline

Definition at line 38 of file Cone.h.

Member Function Documentation

◆ support()

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

Implements Convex.

Definition at line 33 of file Cone.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ bottomRadius

Scalar Cone::bottomRadius
protected

Definition at line 46 of file Cone.h.

◆ halfHeight

Scalar Cone::halfHeight
protected

Definition at line 47 of file Cone.h.

◆ sinAngle

Scalar Cone::sinAngle
protected

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