code::Data3D< T2, T3, T4, X >::Coord Class Reference

List of all members.

Detailed Description

template<class T2, class T3, class T4, class X>
class code::Data3D< T2, T3, T4, X >::Coord

A coordinate for Data3D.


Public Member Functions

 Coord (size_t i, size_t j, size_t k)
 Pass in the three coords.
size_t operator[] (size_t i) const
 i should be 0,1,2 only.
size_t first () const
 The first (height) coordinate.
size_t second () const
 The second (row) coordinate.
size_t third () const
 The third (column) coordinate.


Constructor & Destructor Documentation

template<class T2, class T3, class T4, class X>
code::Data3D< T2, T3, T4, X >::Coord::Coord ( size_t  i,
size_t  j,
size_t  k 
) [inline]

Pass in the three coords.

0 is the slower varying coordinate.


Member Function Documentation

template<class T2, class T3, class T4, class X>
size_t code::Data3D< T2, T3, T4, X >::Coord::first (  )  const [inline]

The first (height) coordinate.

template<class T2, class T3, class T4, class X>
size_t code::Data3D< T2, T3, T4, X >::Coord::operator[] ( size_t  i  )  const [inline]

i should be 0,1,2 only.

O is the slower varying coordinate.

template<class T2, class T3, class T4, class X>
size_t code::Data3D< T2, T3, T4, X >::Coord::second (  )  const [inline]

The second (row) coordinate.

template<class T2, class T3, class T4, class X>
size_t code::Data3D< T2, T3, T4, X >::Coord::third (  )  const [inline]

The third (column) coordinate.


Generated on Fri May 4 13:40:11 2012 for WDSS-IIw2 by  doxygen 1.4.7