Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

Sphere< T > Class Template Reference

#include <sphere.h>

Collaboration diagram for Sphere< T >:

Collaboration graph
List of all members.

Public Member Functions

 Sphere (const Point3< T > &, T)
 Sphere (T)
 Sphere ()

Public Attributes

Point3< T > center
radius

template<class T>
class Sphere< T >


Constructor & Destructor Documentation

template<class T>
Sphere< T >::Sphere  ) 
 

Definition at line 31 of file sphere.h.

00031                                     :
00032     center(0, 0, 0), radius(1)
00033 {
00034 }

template<class T>
Sphere< T >::Sphere  ) 
 

Definition at line 36 of file sphere.h.

00036                                              :
00037     center(0, 0, 0), radius(_radius)
00038 {
00039 }

template<class T>
Sphere< T >::Sphere const Point3< T > &  ,
 

Definition at line 41 of file sphere.h.

00041                                                                        :
00042     center(_center), radius(_radius)
00043 {
00044 }


Member Data Documentation

template<class T>
Point3<T> Sphere< T >::center
 

Definition at line 23 of file sphere.h.

template<class T>
T Sphere< T >::radius
 

Definition at line 24 of file sphere.h.


The documentation for this class was generated from the following file:
Generated on Sat Jan 14 22:33:36 2006 for Celestia by  doxygen 1.4.1