Vec3 Class Template Reference

#include <Vec.h>

Collaboration diagram for Vec3:
[legend]

List of all members.

Public Member Functions

Vec3 cross (const Vec3 &v) const
dot (const Vec3 &v) const
length () const
Vec3< T > normalized () const
Vec3 operator * (T a) const
bool operator!= (const Vec3 &o) const
Vec3 operator+ (const Vec3 &v) const
const Vec3operator+= (const Vec3 &v)
Vec3 operator- (const Vec3 &v) const
 Vec3 (T a, T b, T c)
 Vec3 (T a)
 Vec3 ()

Public Attributes

x
y
z

template<class T>
class Vec3< T >


Constructor & Destructor Documentation

Vec3 (  )  [inline]

Vec3 ( a  )  [inline]

Vec3 ( a,
b,
c 
) [inline]


Member Function Documentation

Vec3 cross ( const Vec3< T > &  v  )  const [inline]

T dot ( const Vec3< T > &  v  )  const [inline]

T length (  )  const [inline]

Vec3<T> normalized (  )  const [inline]

Vec3 operator * ( a  )  const [inline]

bool operator!= ( const Vec3< T > &  o  )  const [inline]

Vec3 operator+ ( const Vec3< T > &  v  )  const [inline]

const Vec3& operator+= ( const Vec3< T > &  v  )  [inline]

Vec3 operator- ( const Vec3< T > &  v  )  const [inline]


Member Data Documentation

T x

T y

T z


The documentation for this class was generated from the following file:
Generated on Mon Jan 14 15:36:54 2008 for Shape from Example by  doxygen 1.5.4