TORCS  1.3.9
The Open Racing Car Simulator
Box Class Reference

#include <Box.h>

Inheritance diagram for Box:
Collaboration diagram for Box:

Public Member Functions

 Box (Scalar x, Scalar y, Scalar z)
 
Point support (const Vector &) const
 
const VectorgetExtent () 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

Vector extent
 

Detailed Description

Definition at line 36 of file Box.h.

Constructor & Destructor Documentation

◆ Box()

Box::Box ( Scalar  x,
Scalar  y,
Scalar  z 
)
inline

Definition at line 38 of file Box.h.

Member Function Documentation

◆ getExtent()

const Vector& Box::getExtent ( ) const
inline

Definition at line 42 of file Box.h.

◆ support()

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

Implements Convex.

Definition at line 33 of file Box.cpp.

Member Data Documentation

◆ extent

Vector Box::extent
protected

Definition at line 45 of file Box.h.


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