Int3D Class Reference

3D Integer vector class. More...

#include <vec3d.hpp>

List of all members.

Public Member Functions

 Int3D ()
 Int3D (int32_t i)
 Int3D (int32_t i, int32_t j)
 Int3D (int32_t i, int32_t j, int32_t k)
 Int3D (std::istream &s)
 ~Int3D ()
int32_t & operator[] (int i)
const int32_t & operator[] (int i) const
int32_t & operator() (int i)
const int32_t & operator() (int i) const
Int3D operator- (const Int3D &i)
Vec3D operator * (double x)
bool operator!= (const Int3D &i)
void save (std::ostream &s) const

Friends

Vec3D operator * (double x, const Int3D &i)
std::ostream & operator<< (std::ostream &os, const Vec3D &vec)


Detailed Description

3D Integer vector class.


Constructor & Destructor Documentation

Int3D::Int3D (  )  [inline]

Int3D::Int3D ( int32_t  i  )  [inline]

Int3D::Int3D ( int32_t  i,
int32_t  j 
) [inline]

Int3D::Int3D ( int32_t  i,
int32_t  j,
int32_t  k 
) [inline]

Int3D::Int3D ( std::istream &  s  )  [inline]

Int3D::~Int3D (  )  [inline]


Member Function Documentation

Vec3D Int3D::operator * ( double  x  )  [inline]

bool Int3D::operator!= ( const Int3D i  )  [inline]

const int32_t& Int3D::operator() ( int  i  )  const [inline]

int32_t& Int3D::operator() ( int  i  )  [inline]

Int3D Int3D::operator- ( const Int3D i  )  [inline]

const int32_t& Int3D::operator[] ( int  i  )  const [inline]

int32_t& Int3D::operator[] ( int  i  )  [inline]

void Int3D::save ( std::ostream &  s  )  const [inline]


Friends And Related Function Documentation

Vec3D operator * ( double  x,
const Int3D i 
) [friend]

std::ostream& operator<< ( std::ostream &  os,
const Vec3D vec 
) [friend]


The documentation for this class was generated from the following file:
Generated on Thu Apr 21 13:39:22 2011 for IBSimu by  doxygen 1.4.7