VRUT::BCone Class Reference

Bounding cone class. More...

#include <bvolumes.h>

List of all members.

Public Member Functions

 BCone ()
 Class constructor.
wxString ToString () const
 Get string with bounds.

Public Attributes

VECTOR3 Center
 BCone center.
VECTOR3 Axis
 BCone axis (from top vertex to expanding far end).
float Angle
 Angle of cone expand.


Detailed Description

Bounding cone class.

Definition at line 259 of file bvolumes.h.


Constructor & Destructor Documentation

VRUT::BCone::BCone (  )  [inline]

Class constructor.

Definition at line 270 of file bvolumes.h.

00271               {
00272                      Center = VECTOR3(0, 0, 0);
00273                      Axis = VECTOR3(0, 1, 0);
00274                      Angle = 0.0f;
00275               }


Member Function Documentation

wxString VRUT::BCone::ToString (  )  const [inline]

Get string with bounds.

Definition at line 278 of file bvolumes.h.

00279               {
00280                      return wxString::Format(wxT("Center: %s\nAxis: %s\nAngle: %f\n"), Center.ToString().c_str(), Axis.ToString().c_str(), Angle);
00281               }


Member Data Documentation

BCone center.

Definition at line 263 of file bvolumes.h.

BCone axis (from top vertex to expanding far end).

Definition at line 265 of file bvolumes.h.

Angle of cone expand.

Definition at line 267 of file bvolumes.h.


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

Generated on Tue Mar 10 14:41:41 2009 for VRUT by  doxygen 1.5.5