Navigation

Main Page
Download
Support
Installation
Tutorial
Examples
Reference Manual
   Version 1.0.4
   Version 1.0.4dev
      Class Index
      File List
Publications


Hosted by Get Ion Beam Simulator at SourceForge.net. Fast, secure and Free Open Source software downloads

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) const
 Inequality test.
bool operator== (const Int3D &i) const
 Equality test.
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

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

Inequality test.

const int32_t& Int3D::operator() ( int  i  )  const [inline]
int32_t& Int3D::operator() ( int  i  )  [inline]
Vec3D Int3D::operator* ( double  x  )  [inline]
Int3D Int3D::operator- ( const Int3D i  )  [inline]
bool Int3D::operator== ( const Int3D i  )  const [inline]

Equality test.

int32_t& Int3D::operator[] ( int  i  )  [inline]
const int32_t& Int3D::operator[] ( int  i  )  const [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:


Reference manual for Ion Beam Simulator 1.0.4dev
Generated by Doxygen 1.7.1 on Wed May 18 2011 23:03:52.