shawn::Vec Class Reference

#include <vec.h>

List of all members.

Public Member Functions

 Vec (const Vec &p)
 Vec (double x=0.0, double y=0.0, double z=0.0)
 ~Vec ()
double x (void) const throw ()
double y (void) const throw ()
double z (void) const throw ()
Vec operator- (const Vec &p) const throw ()
Vec operator+ (const Vec &p) const throw ()
Vecoperator-= (const Vec &p) throw ()
Vecoperator+= (const Vec &p) throw ()
Vec operator* (double f) const throw ()
Vec operator/ (double f) const throw ()
Vecoperator*= (double f) throw ()
Vecoperator/= (double f) throw ()
bool operator== (const Vec &p) const throw ()
bool operator!= (const Vec &p) const throw ()
Vecoperator= (const Vec &p) throw ()
double operator* (const Vec &p) const throw ()
double euclidean_norm (void) const throw ()

Friends

std::ostream & operator<< (std::ostream &, const Vec &) throw ()


Constructor & Destructor Documentation

shawn::Vec::Vec ( const Vec p  )  [inline]

Here is the caller graph for this function:

shawn::Vec::Vec ( double  x = 0.0,
double  y = 0.0,
double  z = 0.0 
) [inline]

shawn::Vec::~Vec (  ) 


Member Function Documentation

double shawn::Vec::x ( void   )  const throw () [inline]

Here is the caller graph for this function:

double shawn::Vec::y ( void   )  const throw () [inline]

Here is the caller graph for this function:

double shawn::Vec::z ( void   )  const throw () [inline]

Here is the caller graph for this function:

Vec shawn::Vec::operator- ( const Vec p  )  const throw () [inline]

Here is the call graph for this function:

Vec shawn::Vec::operator+ ( const Vec p  )  const throw () [inline]

Here is the call graph for this function:

Vec& shawn::Vec::operator-= ( const Vec p  )  throw () [inline]

Vec& shawn::Vec::operator+= ( const Vec p  )  throw () [inline]

Vec shawn::Vec::operator* ( double  f  )  const throw () [inline]

Here is the call graph for this function:

Vec shawn::Vec::operator/ ( double  f  )  const throw () [inline]

Here is the call graph for this function:

Vec& shawn::Vec::operator*= ( double  f  )  throw () [inline]

Vec& shawn::Vec::operator/= ( double  f  )  throw () [inline]

bool shawn::Vec::operator== ( const Vec p  )  const throw () [inline]

bool shawn::Vec::operator!= ( const Vec p  )  const throw () [inline]

Vec& shawn::Vec::operator= ( const Vec p  )  throw () [inline]

double shawn::Vec::operator* ( const Vec p  )  const throw () [inline]

Here is the call graph for this function:

double shawn::Vec::euclidean_norm ( void   )  const throw ()


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  ,
const Vec  
) throw () [friend]


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

Generated on Sun Feb 5 00:01:41 2012 for Shawn by  doxygen 1.5.6