Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

BSphere3 Class Template Reference
[Math3]

Template class for 3D bounding sphere. More...

#include <gmlbsphere3.h>

List of all members.

Miscellanious methods

void Include (const TVector3< T > &point)
 Expand the sphere to include given point.

void Include (const BSphere3 &bsphere)
 Expand the sphere to include given sphere.

radius
 Radius of the sphere.

TVector3< T > center
 Center point.


Public Member Functions

Constructors
 BSphere3 ()
 default constructor

 BSphere3 (const TVector3< T > &center0, const double radius0=0)
 initialize class members by defined values

 BSphere3 (const BBox3< T > &bbox)
 construct sphere from given bounding box


Detailed Description

template<class T>
class gml::BSphere3< T >

Template class for 3D bounding sphere.

Parameters:
T - template type of TVector elements
Warning:
Use it with some SIGNED integral type, or a real type


The documentation for this class was generated from the following file:
Generated on Tue Jan 13 21:12:06 2004 for Graphics and Media Lab CSL by doxygen 1.3.4