Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

Bbox Class Reference

Class providing a Bounding Box. More...

Inheritance diagram for Bbox:

GLBbox List of all members.

Public Member Functions


Detailed Description

Class providing a Bounding Box.

The attributes are a center and size a vector representing the diagonal.

Definition at line 15 of file Bbox.h.


Constructor & Destructor Documentation

Bbox  ) 
 

Default constructor.

Bbox const SFVec3f center,
const SFVec3f size
 

Constructor with center of the Bbox and its size.

Bbox const MFVec3f &  coord  )  [explicit]
 

Constructs th Bounding Box of the vertices of the node coord.


Member Function Documentation

Bbox::Bbox const Bbox &  B  ) 
 

Copy constructor.

SFVec3f getCenter  )  const [inline]
 

Gets the center of the Bounding Box.

Definition at line 33 of file Bbox.h.

SFVec3f getSize  )  const [inline]
 

Gets the size of the Bounding Box.

Definition at line 35 of file Bbox.h.

void setCenter const SFVec3f center  )  [inline]
 

Sets the center of the Bounding Box.

Definition at line 28 of file Bbox.h.

void setSize const SFVec3f size  )  [inline]
 

Sets the Size of the Bounding Box.

Definition at line 30 of file Bbox.h.


The documentation for this class was generated from the following file:
Generated on Wed May 14 10:38:11 2003 for X3DToolKit by doxygen1.3