Wm4::GVector< Real > Class Template Reference

#include <Wm4GVector.h>

List of all members.

Public Member Functions

Real Dot (const GVector &rkV) const
int GetSize () const
 GVector (const GVector &rkV)
 GVector (int iSize, const Real *afTuple)
 GVector (int iSize=0)
Real Length () const
Real Normalize ()
 operator const Real * () const
 operator Real * ()
bool operator!= (const GVector &rkV) const
GVector operator* (Real fScalar) const
GVectoroperator*= (Real fScalar)
GVector operator+ (const GVector &rkV) const
GVectoroperator+= (const GVector &rkV)
GVector operator- () const
GVector operator- (const GVector &rkV) const
GVectoroperator-= (const GVector &rkV)
GVector operator/ (Real fScalar) const
GVectoroperator/= (Real fScalar)
bool operator< (const GVector &rkV) const
bool operator<= (const GVector &rkV) const
GVectoroperator= (const GVector &rkV)
bool operator== (const GVector &rkV) const
bool operator> (const GVector &rkV) const
bool operator>= (const GVector &rkV) const
Real & operator[] (int i)
Real operator[] (int i) const
void SetSize (int iSize)
Real SquaredLength () const
 ~GVector ()

Protected Member Functions

int CompareArrays (const GVector &rkV) const

Protected Attributes

Real * m_afTuple
int m_iSize

Detailed Description

template<class Real>
class Wm4::GVector< Real >

Definition at line 27 of file Wm4GVector.h.


Constructor & Destructor Documentation

template<class Real >
Wm4::GVector< Real >::GVector ( int  iSize = 0  )  [inline]
template<class Real >
Wm4::GVector< Real >::GVector ( int  iSize,
const Real *  afTuple 
) [inline]
template<class Real >
Wm4::GVector< Real >::GVector ( const GVector< Real > &  rkV  )  [inline]
template<class Real >
Wm4::GVector< Real >::~GVector (  )  [inline]

Definition at line 70 of file Wm4GVector.inl.

References Wm4::GVector< Real >::m_afTuple, and WM4_DELETE.


Member Function Documentation

template<class Real >
int Wm4::GVector< Real >::CompareArrays ( const GVector< Real > &  rkV  )  const [inline, protected]
template<class Real >
Real Wm4::GVector< Real >::Dot ( const GVector< Real > &  rkV  )  const [inline]
template<class Real >
int Wm4::GVector< Real >::GetSize (  )  const [inline]
template<class Real >
Real Wm4::GVector< Real >::Length ( void   )  const [inline]
template<class Real >
Real Wm4::GVector< Real >::Normalize ( void   )  [inline]
template<class Real >
Wm4::GVector< Real >::operator const Real * (  )  const [inline]

Definition at line 99 of file Wm4GVector.inl.

References Wm4::GVector< Real >::m_afTuple.

template<class Real >
Wm4::GVector< Real >::operator Real * (  )  [inline]

Definition at line 105 of file Wm4GVector.inl.

References Wm4::GVector< Real >::m_afTuple.

template<class Real >
bool Wm4::GVector< Real >::operator!= ( const GVector< Real > &  rkV  )  const [inline]

Definition at line 160 of file Wm4GVector.inl.

References Wm4::GVector< Real >::CompareArrays().

template<class Real >
GVector< Real > Wm4::GVector< Real >::operator* ( Real  fScalar  )  const [inline]
template<class Real >
GVector< Real > & Wm4::GVector< Real >::operator*= ( Real  fScalar  )  [inline]
template<class Real >
GVector< Real > Wm4::GVector< Real >::operator+ ( const GVector< Real > &  rkV  )  const [inline]
template<class Real >
GVector< Real > & Wm4::GVector< Real >::operator+= ( const GVector< Real > &  rkV  )  [inline]
template<class Real >
GVector< Real > Wm4::GVector< Real >::operator- ( void   )  const [inline]
template<class Real >
GVector< Real > Wm4::GVector< Real >::operator- ( const GVector< Real > &  rkV  )  const [inline]
template<class Real >
GVector< Real > & Wm4::GVector< Real >::operator-= ( const GVector< Real > &  rkV  )  [inline]
template<class Real >
GVector< Real > Wm4::GVector< Real >::operator/ ( Real  fScalar  )  const [inline]
template<class Real >
GVector< Real > & Wm4::GVector< Real >::operator/= ( Real  fScalar  )  [inline]
template<class Real >
bool Wm4::GVector< Real >::operator< ( const GVector< Real > &  rkV  )  const [inline]

Definition at line 166 of file Wm4GVector.inl.

References Wm4::GVector< Real >::CompareArrays().

template<class Real >
bool Wm4::GVector< Real >::operator<= ( const GVector< Real > &  rkV  )  const [inline]

Definition at line 172 of file Wm4GVector.inl.

References Wm4::GVector< Real >::CompareArrays().

template<class Real >
GVector< Real > & Wm4::GVector< Real >::operator= ( const GVector< Real > &  rkV  )  [inline]
template<class Real >
bool Wm4::GVector< Real >::operator== ( const GVector< Real > &  rkV  )  const [inline]

Definition at line 154 of file Wm4GVector.inl.

References Wm4::GVector< Real >::CompareArrays().

template<class Real >
bool Wm4::GVector< Real >::operator> ( const GVector< Real > &  rkV  )  const [inline]

Definition at line 178 of file Wm4GVector.inl.

References Wm4::GVector< Real >::CompareArrays().

template<class Real >
bool Wm4::GVector< Real >::operator>= ( const GVector< Real > &  rkV  )  const [inline]

Definition at line 184 of file Wm4GVector.inl.

References Wm4::GVector< Real >::CompareArrays().

template<class Real >
Real & Wm4::GVector< Real >::operator[] ( int  i  )  [inline]
template<class Real >
Real Wm4::GVector< Real >::operator[] ( int  i  )  const [inline]
template<class Real >
void Wm4::GVector< Real >::SetSize ( int  iSize  )  [inline]
template<class Real >
Real Wm4::GVector< Real >::SquaredLength (  )  const [inline]

Member Data Documentation

template<class Real>
Real* Wm4::GVector< Real >::m_afTuple [protected]
template<class Real>
int Wm4::GVector< Real >::m_iSize [protected]

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

Generated on Wed Nov 23 19:02:49 2011 for FreeCAD by  doxygen 1.6.1