$search

bmtk::Vec3d Class Reference

#include <vec3d.hh>

List of all members.

Public Member Functions

Vec3d cross (const Vec3d &v) const
float dist2To (Vec3d &v) const
float distTo (Vec3d &v) const
float dot (const Vec3d &v) const
Vec3d from (const Vec3d &v) const
float len (void) const
float len2 (void) const
void normalize (void)
bool operator!= (const Vec3d &v) const
Vec3d operator* (const Vec3d v) const
Vec3d operator* (const float a) const
Vec3d operator*= (const Vec3d v)
Vec3d operator*= (const float a)
Vec3d operator+ (const float a) const
Vec3d operator+ (const Vec3d &v) const
void operator+= (const float a)
void operator+= (const Vec3d &v)
Vec3d operator- () const
Vec3d operator- (const float a) const
Vec3d operator- (const Vec3d &v) const
void operator-= (const float a)
void operator-= (const Vec3d &v)
Vec3d operator/ (const Vec3d v) const
Vec3d operator/ (const float a) const
Vec3d operator/= (const Vec3d v)
Vec3d operator/= (const float a)
Vec3d operator= (int a)
Vec3d operator= (float a)
Vec3d operator= (const float d[3])
Vec3d operator= (const Vec3d &v)
bool operator== (const Vec3d &v) const
float & operator[] (const int index)
float operator[] (const int index) const
float operator~ (void) const
void print (void)
void printall (void)
void printcr (void)
void set (const float x0, const float x1, const float x2)
Vec3d to (const Vec3d &v) const
 Vec3d (const float *x_)
 Vec3d (const Vec3d &v)
 Vec3d (const float a)
 Vec3d (const float x0, const float x1, const float x2)
 Vec3d ()

Public Attributes

float x [3]

Detailed Description

Definition at line 53 of file vec3d.hh.


Constructor & Destructor Documentation

bmtk::Vec3d::Vec3d (  ) 

Definition at line 17 of file vec3d.cc.

bmtk::Vec3d::Vec3d ( const float  x0,
const float  x1,
const float  x2 
)

Definition at line 20 of file vec3d.cc.

bmtk::Vec3d::Vec3d ( const float  a  ) 

Definition at line 23 of file vec3d.cc.

bmtk::Vec3d::Vec3d ( const Vec3d v  ) 

Definition at line 26 of file vec3d.cc.

bmtk::Vec3d::Vec3d ( const float *  x_  ) 

Definition at line 29 of file vec3d.cc.


Member Function Documentation

Vec3d bmtk::Vec3d::cross ( const Vec3d v  )  const

Definition at line 142 of file vec3d.cc.

float bmtk::Vec3d::dist2To ( Vec3d v  )  const

Definition at line 169 of file vec3d.cc.

float bmtk::Vec3d::distTo ( Vec3d v  )  const

Definition at line 166 of file vec3d.cc.

float bmtk::Vec3d::dot ( const Vec3d v  )  const

Definition at line 139 of file vec3d.cc.

Vec3d bmtk::Vec3d::from ( const Vec3d v  )  const

Definition at line 68 of file vec3d.cc.

float bmtk::Vec3d::len ( void   )  const

Definition at line 157 of file vec3d.cc.

float bmtk::Vec3d::len2 ( void   )  const

Definition at line 163 of file vec3d.cc.

void bmtk::Vec3d::normalize ( void   ) 

Definition at line 172 of file vec3d.cc.

bool bmtk::Vec3d::operator!= ( const Vec3d v  )  const

Definition at line 152 of file vec3d.cc.

Vec3d bmtk::Vec3d::operator* ( const Vec3d  v  )  const

Definition at line 114 of file vec3d.cc.

Vec3d bmtk::Vec3d::operator* ( const float  a  )  const

Definition at line 107 of file vec3d.cc.

Vec3d bmtk::Vec3d::operator*= ( const Vec3d  v  ) 

Definition at line 129 of file vec3d.cc.

Vec3d bmtk::Vec3d::operator*= ( const float  a  ) 

Definition at line 120 of file vec3d.cc.

Vec3d bmtk::Vec3d::operator+ ( const float  a  )  const

Definition at line 78 of file vec3d.cc.

Vec3d bmtk::Vec3d::operator+ ( const Vec3d v  )  const

Definition at line 75 of file vec3d.cc.

void bmtk::Vec3d::operator+= ( const float  a  ) 

Definition at line 84 of file vec3d.cc.

void bmtk::Vec3d::operator+= ( const Vec3d v  ) 

Definition at line 81 of file vec3d.cc.

Vec3d bmtk::Vec3d::operator- ( void   )  const

Definition at line 100 of file vec3d.cc.

Vec3d bmtk::Vec3d::operator- ( const float  a  )  const

Definition at line 91 of file vec3d.cc.

Vec3d bmtk::Vec3d::operator- ( const Vec3d v  )  const

Definition at line 88 of file vec3d.cc.

void bmtk::Vec3d::operator-= ( const float  a  ) 

Definition at line 97 of file vec3d.cc.

void bmtk::Vec3d::operator-= ( const Vec3d v  ) 

Definition at line 94 of file vec3d.cc.

Vec3d bmtk::Vec3d::operator/ ( const Vec3d  v  )  const

Definition at line 117 of file vec3d.cc.

Vec3d bmtk::Vec3d::operator/ ( const float  a  )  const

Definition at line 110 of file vec3d.cc.

Vec3d bmtk::Vec3d::operator/= ( const Vec3d  v  ) 

Definition at line 133 of file vec3d.cc.

Vec3d bmtk::Vec3d::operator/= ( const float  a  ) 

Definition at line 124 of file vec3d.cc.

Vec3d bmtk::Vec3d::operator= ( int  a  ) 

Definition at line 49 of file vec3d.cc.

Vec3d bmtk::Vec3d::operator= ( float  a  ) 

Definition at line 45 of file vec3d.cc.

Vec3d bmtk::Vec3d::operator= ( const float  d[3]  ) 

Definition at line 41 of file vec3d.cc.

Vec3d bmtk::Vec3d::operator= ( const Vec3d v  ) 

Definition at line 37 of file vec3d.cc.

bool bmtk::Vec3d::operator== ( const Vec3d v  )  const

Definition at line 149 of file vec3d.cc.

float & bmtk::Vec3d::operator[] ( const int  index  ) 

Definition at line 59 of file vec3d.cc.

float bmtk::Vec3d::operator[] ( const int  index  )  const

Definition at line 55 of file vec3d.cc.

float bmtk::Vec3d::operator~ ( void   )  const

Definition at line 160 of file vec3d.cc.

void bmtk::Vec3d::print ( void   ) 

Definition at line 178 of file vec3d.cc.

void bmtk::Vec3d::printall ( void   ) 

Definition at line 184 of file vec3d.cc.

void bmtk::Vec3d::printcr ( void   ) 

Definition at line 181 of file vec3d.cc.

void bmtk::Vec3d::set ( const float  x0,
const float  x1,
const float  x2 
)

Definition at line 34 of file vec3d.cc.

Vec3d bmtk::Vec3d::to ( const Vec3d v  )  const

Definition at line 65 of file vec3d.cc.


Member Data Documentation

float bmtk::Vec3d::x[3]

Definition at line 57 of file vec3d.hh.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines


bmtk
Author(s): Benjamin Pitzer
autogenerated on Mon Mar 4 11:05:58 2013