Open PaperOpt
V3< T > Class Template Reference

#include <V3.h>

List of all members.

Public Member Functions

 V3 ()
 V3 (const T _x, const T _y, const T _z)
 V3 (const V3< T > &v)
 V3 (const V2< T > &v, T _z)
X () const
Y () const
Z () const
P (int i) const
V2< T > Drop (int i) const
void X (T _x)
void Y (T _y)
void Z (T _z)
LengthVector ()
LengthVector2 ()
void NormalizeVector ()
V3< T > & Normalize ()
Sum () const
V3< T > AbsVec () const
AbsMax () const
int GetCDrop () const
V3< T > & ClipOne ()
V3< T > & Rotate90XY ()
void SetMin (const V3< T > &v)
void SetMax (const V3< T > &v)
void operator+= (const V3< T > &v)
void operator-= (const V3< T > &v)
void operator*= (const V3< T > &v)
void operator*= (const double k)
void operator/= (const V3< T > &v)
void operator/= (T f)
void negate ()
V3< T > operator- (void) const
V3< T > operator+ (const V3< T > &b) const
V3< T > operator- (const V3< T > &b) const
operator* (const V3< T > &b) const
V3< T > operator* (T f) const
V3< T > operator/ (T f) const
void CrossProduct (const V3< T > &u, const V3< T > &v)
vectMult (const V3< T > &u) const
void VectDivConst (const T &v)
void VectMulConst (const T &v)

Detailed Description

template<class T>
class V3< T >

the basic data type which contain three data members


Constructor & Destructor Documentation

template<class T>
V3< T >::V3 ( ) [inline]
template<class T>
V3< T >::V3 ( const T  _x,
const T  _y,
const T  _z 
) [inline]
template<class T>
V3< T >::V3 ( const V3< T > &  v) [inline]
template<class T>
V3< T >::V3 ( const V2< T > &  v,
_z 
) [inline]

Member Function Documentation

template<class T>
T V3< T >::AbsMax ( ) const [inline]

Here is the caller graph for this function:

template<class T>
V3<T> V3< T >::AbsVec ( ) const [inline]
template<class T>
V3<T>& V3< T >::ClipOne ( ) [inline]

Here is the caller graph for this function:

template<class T>
void V3< T >::CrossProduct ( const V3< T > &  u,
const V3< T > &  v 
) [inline]

Here is the caller graph for this function:

template<class T>
V2<T> V3< T >::Drop ( int  i) const [inline]

Here is the caller graph for this function:

template<class T>
int V3< T >::GetCDrop ( ) const [inline]

Here is the caller graph for this function:

template<class T>
T V3< T >::LengthVector ( ) [inline]

Here is the caller graph for this function:

template<class T>
T V3< T >::LengthVector2 ( ) [inline]

Here is the caller graph for this function:

template<class T>
void V3< T >::negate ( ) [inline]

Here is the caller graph for this function:

template<class T>
V3<T>& V3< T >::Normalize ( ) [inline]

Here is the caller graph for this function:

template<class T>
void V3< T >::NormalizeVector ( ) [inline]

Here is the caller graph for this function:

template<class T>
T V3< T >::operator* ( const V3< T > &  b) const [inline]
template<class T>
V3<T> V3< T >::operator* ( f) const [inline]
template<class T>
void V3< T >::operator*= ( const V3< T > &  v) [inline]

Here is the caller graph for this function:

template<class T>
void V3< T >::operator*= ( const double  k) [inline]
template<class T>
V3<T> V3< T >::operator+ ( const V3< T > &  b) const [inline]
template<class T>
void V3< T >::operator+= ( const V3< T > &  v) [inline]
template<class T>
V3<T> V3< T >::operator- ( void  ) const [inline]
template<class T>
V3<T> V3< T >::operator- ( const V3< T > &  b) const [inline]
template<class T>
void V3< T >::operator-= ( const V3< T > &  v) [inline]
template<class T>
V3<T> V3< T >::operator/ ( f) const [inline]
template<class T>
void V3< T >::operator/= ( const V3< T > &  v) [inline]
template<class T>
void V3< T >::operator/= ( f) [inline]
template<class T>
T V3< T >::P ( int  i) const [inline]
template<class T>
V3<T>& V3< T >::Rotate90XY ( ) [inline]

Here is the caller graph for this function:

template<class T>
void V3< T >::SetMax ( const V3< T > &  v) [inline]

Here is the caller graph for this function:

template<class T>
void V3< T >::SetMin ( const V3< T > &  v) [inline]
template<class T>
T V3< T >::Sum ( ) const [inline]
template<class T>
void V3< T >::VectDivConst ( const T &  v) [inline]

Here is the caller graph for this function:

template<class T>
void V3< T >::VectMulConst ( const T &  v) [inline]

Here is the caller graph for this function:

template<class T>
T V3< T >::vectMult ( const V3< T > &  u) const [inline]

Here is the caller graph for this function:

template<class T>
T V3< T >::X ( ) const [inline]

Here is the caller graph for this function:

template<class T>
void V3< T >::X ( _x) [inline]
template<class T>
T V3< T >::Y ( ) const [inline]

Here is the caller graph for this function:

template<class T>
void V3< T >::Y ( _y) [inline]
template<class T>
T V3< T >::Z ( ) const [inline]

Here is the caller graph for this function:

template<class T>
void V3< T >::Z ( _z) [inline]

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