Coordinates3D< T > Class Template Reference

T must provide copy constructor and operator=. More...

#include <Coordinates3D.h>

Collaboration diagram for Coordinates3D< T >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Coordinates3D ()
 Coordinates3D (const T &_x, const T &_y, const T &_z)
X () const
Y () const
Z () const
T & XRef ()
T & YRef ()
T & ZRef ()
Coordinates3D< T > & operator-= (const Coordinates3D< T > &a)
Coordinates3D< T > & operator+= (const Coordinates3D< T > &a)
Coordinates3D< T > & operator= (const Coordinates3D< T > &a)

Public Attributes

x
y
z


Detailed Description

template<typename T>
class Coordinates3D< T >

T must provide copy constructor and operator=.

Definition at line 7 of file Coordinates3D.h.


Constructor & Destructor Documentation

template<typename T>
Coordinates3D< T >::Coordinates3D (  )  [inline]

Definition at line 10 of file Coordinates3D.h.

template<typename T>
Coordinates3D< T >::Coordinates3D ( const T &  _x,
const T &  _y,
const T &  _z 
) [inline]

Definition at line 17 of file Coordinates3D.h.


Member Function Documentation

template<typename T>
T Coordinates3D< T >::X (  )  const [inline]

template<typename T>
T Coordinates3D< T >::Y (  )  const [inline]

template<typename T>
T Coordinates3D< T >::Z (  )  const [inline]

template<typename T>
T& Coordinates3D< T >::XRef (  )  [inline]

template<typename T>
T& Coordinates3D< T >::YRef (  )  [inline]

template<typename T>
T& Coordinates3D< T >::ZRef (  )  [inline]

template<typename T>
Coordinates3D<T>& Coordinates3D< T >::operator-= ( const Coordinates3D< T > &  a  )  [inline]

Definition at line 31 of file Coordinates3D.h.

template<typename T>
Coordinates3D<T>& Coordinates3D< T >::operator+= ( const Coordinates3D< T > &  a  )  [inline]

Definition at line 37 of file Coordinates3D.h.

template<typename T>
Coordinates3D<T>& Coordinates3D< T >::operator= ( const Coordinates3D< T > &  a  )  [inline]

Definition at line 44 of file Coordinates3D.h.


Member Data Documentation

template<typename T>
T Coordinates3D< T >::x

template<typename T>
T Coordinates3D< T >::y

template<typename T>
T Coordinates3D< T >::z


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

Generated on Thu Dec 4 11:41:20 2008 for CompuCell3D by  doxygen 1.5.6