Wm4::Vector3< Real > Class Template Reference

#include <Wm4Vector3.h>

List of all members.

Public Member Functions

Vector3 Cross (const Vector3 &rkV) const
Real Dot (const Vector3 &rkV) const
void GetBarycentrics (const Vector3 &rkV0, const Vector3 &rkV1, const Vector3 &rkV2, const Vector3 &rkV3, Real afBary[4]) const
Real Length () const
Real Normalize ()
 operator const Real * () const
 operator Real * ()
bool operator!= (const Vector3 &rkV) const
Vector3 operator* (Real fScalar) const
Vector3operator*= (Real fScalar)
Vector3 operator+ (const Vector3 &rkV) const
Vector3operator+= (const Vector3 &rkV)
Vector3 operator- () const
Vector3 operator- (const Vector3 &rkV) const
Vector3operator-= (const Vector3 &rkV)
Vector3 operator/ (Real fScalar) const
Vector3operator/= (Real fScalar)
bool operator< (const Vector3 &rkV) const
bool operator<= (const Vector3 &rkV) const
Vector3operator= (const Vector3 &rkV)
bool operator== (const Vector3 &rkV) const
bool operator> (const Vector3 &rkV) const
bool operator>= (const Vector3 &rkV) const
Real & operator[] (int i)
Real operator[] (int i) const
Real SquaredLength () const
Vector3 UnitCross (const Vector3 &rkV) const
 Vector3 (const Vector3 &rkV)
 Vector3 (const Real *afTuple)
 Vector3 (Real fX, Real fY, Real fZ)
 Vector3 ()
Real & X ()
Real X () const
Real & Y ()
Real Y () const
Real & Z ()
Real Z () const

Static Public Member Functions

static void ComputeExtremes (int iVQuantity, const Vector3 *akPoint, Vector3 &rkMin, Vector3 &rkMax)
static void GenerateComplementBasis (Vector3 &rkU, Vector3 &rkV, const Vector3 &rkW)
static void GenerateOrthonormalBasis (Vector3 &rkU, Vector3 &rkV, Vector3 &rkW)
static void Orthonormalize (Vector3 *akV)
static void Orthonormalize (Vector3 &rkU, Vector3 &rkV, Vector3 &rkW)

Static Public Attributes

static const Vector3 ONE
static const Vector3 UNIT_X
static const Vector3 UNIT_Y
static const Vector3 UNIT_Z
static const Vector3 ZERO

Detailed Description

template<class Real>
class Wm4::Vector3< Real >

Definition at line 27 of file Wm4Vector3.h.


Constructor & Destructor Documentation

template<class Real >
Wm4::Vector3< Real >::Vector3 (  )  [inline]
template<class Real>
Wm4::Vector3< Real >::Vector3 ( Real  fX,
Real  fY,
Real  fZ 
) [inline]

Definition at line 27 of file Wm4Vector3.inl.

template<class Real>
Wm4::Vector3< Real >::Vector3 ( const Real *  afTuple  )  [inline]

Definition at line 35 of file Wm4Vector3.inl.

template<class Real>
Wm4::Vector3< Real >::Vector3 ( const Vector3< Real > &  rkV  )  [inline]

Definition at line 43 of file Wm4Vector3.inl.


Member Function Documentation

template<class Real >
void Wm4::Vector3< Real >::ComputeExtremes ( int  iVQuantity,
const Vector3< Real > *  akPoint,
Vector3< Real > &  rkMin,
Vector3< Real > &  rkMax 
) [inline, static]

Definition at line 655 of file Wm4Vector3.inl.

template<class Real >
Vector3< Real > Wm4::Vector3< Real >::Cross ( const Vector3< Real > &  rkV  )  const [inline]
template<class Real >
Real Wm4::Vector3< Real >::Dot ( const Vector3< Real > &  rkV  )  const [inline]
template<class Real >
void Wm4::Vector3< Real >::GenerateComplementBasis ( Vector3< Real > &  rkU,
Vector3< Real > &  rkV,
const Vector3< Real > &  rkW 
) [inline, static]

Definition at line 620 of file Wm4Vector3.inl.

Referenced by Wm4::Vector3< Real >::GenerateOrthonormalBasis().

template<class Real >
void Wm4::Vector3< Real >::GenerateOrthonormalBasis ( Vector3< Real > &  rkU,
Vector3< Real > &  rkV,
Vector3< Real > &  rkW 
) [inline, static]
template<class Real>
void Wm4::Vector3< Real >::GetBarycentrics ( const Vector3< Real > &  rkV0,
const Vector3< Real > &  rkV1,
const Vector3< Real > &  rkV2,
const Vector3< Real > &  rkV3,
Real  afBary[4] 
) const [inline]
template<class Real >
Real Wm4::Vector3< Real >::Length ( void   )  const [inline]
template<class Real >
Real Wm4::Vector3< Real >::Normalize ( void   )  [inline]
template<class Real >
Wm4::Vector3< Real >::operator const Real * (  )  const [inline]

Definition at line 51 of file Wm4Vector3.inl.

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

Definition at line 57 of file Wm4Vector3.inl.

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

Definition at line 132 of file Wm4Vector3.inl.

template<class Real>
Vector3< Real > Wm4::Vector3< Real >::operator* ( Real  fScalar  )  const [inline]

Definition at line 180 of file Wm4Vector3.inl.

References Wm4::Vector3< Real >::Vector3().

template<class Real>
Vector3< Real > & Wm4::Vector3< Real >::operator*= ( Real  fScalar  )  [inline]

Definition at line 247 of file Wm4Vector3.inl.

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

Definition at line 162 of file Wm4Vector3.inl.

References Wm4::Vector3< Real >::Vector3().

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

Definition at line 229 of file Wm4Vector3.inl.

template<class Real >
Vector3< Real > Wm4::Vector3< Real >::operator- ( void   )  const [inline]

Definition at line 211 of file Wm4Vector3.inl.

References Wm4::Vector3< Real >::Vector3().

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

Definition at line 171 of file Wm4Vector3.inl.

References Wm4::Vector3< Real >::Vector3().

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

Definition at line 238 of file Wm4Vector3.inl.

template<class Real>
Vector3< Real > Wm4::Vector3< Real >::operator/ ( Real  fScalar  )  const [inline]

Definition at line 189 of file Wm4Vector3.inl.

template<class Real>
Vector3< Real > & Wm4::Vector3< Real >::operator/= ( Real  fScalar  )  [inline]

Definition at line 256 of file Wm4Vector3.inl.

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

Definition at line 138 of file Wm4Vector3.inl.

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

Definition at line 144 of file Wm4Vector3.inl.

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

Definition at line 111 of file Wm4Vector3.inl.

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

Definition at line 126 of file Wm4Vector3.inl.

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

Definition at line 150 of file Wm4Vector3.inl.

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

Definition at line 156 of file Wm4Vector3.inl.

template<class Real >
Real & Wm4::Vector3< Real >::operator[] ( int  i  )  [inline]

Definition at line 69 of file Wm4Vector3.inl.

template<class Real >
Real Wm4::Vector3< Real >::operator[] ( int  i  )  const [inline]

Definition at line 63 of file Wm4Vector3.inl.

template<class Real >
void Wm4::Vector3< Real >::Orthonormalize ( Vector3< Real > *  akV  )  [inline, static]

Definition at line 606 of file Wm4Vector3.inl.

References Wm4::Vector3< Real >::Orthonormalize().

template<class Real >
void Wm4::Vector3< Real >::Orthonormalize ( Vector3< Real > &  rkU,
Vector3< Real > &  rkV,
Vector3< Real > &  rkW 
) [inline, static]
template<class Real >
Real Wm4::Vector3< Real >::SquaredLength (  )  const [inline]
template<class Real >
Vector3< Real > Wm4::Vector3< Real >::UnitCross ( const Vector3< Real > &  rkV  )  const [inline]
template<class Real >
Real & Wm4::Vector3< Real >::X (  )  [inline]

Definition at line 81 of file Wm4Vector3.inl.

template<class Real >
Real Wm4::Vector3< Real >::X (  )  const [inline]
template<class Real >
Real & Wm4::Vector3< Real >::Y (  )  [inline]

Definition at line 93 of file Wm4Vector3.inl.

template<class Real >
Real Wm4::Vector3< Real >::Y (  )  const [inline]
template<class Real >
Real & Wm4::Vector3< Real >::Z (  )  [inline]

Definition at line 105 of file Wm4Vector3.inl.

template<class Real >
Real Wm4::Vector3< Real >::Z (  )  const [inline]

Member Data Documentation

template<class Real>
const Vector3 Wm4::Vector3< Real >::ONE [static]

Definition at line 120 of file Wm4Vector3.h.

template<class Real>
const Vector3 Wm4::Vector3< Real >::UNIT_X [static]

Definition at line 117 of file Wm4Vector3.h.

template<class Real>
const Vector3 Wm4::Vector3< Real >::UNIT_Y [static]

Definition at line 118 of file Wm4Vector3.h.

template<class Real>
const Vector3 Wm4::Vector3< Real >::UNIT_Z [static]

Definition at line 119 of file Wm4Vector3.h.

template<class Real>
const Vector3 Wm4::Vector3< Real >::ZERO [static]

Definition at line 116 of file Wm4Vector3.h.


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

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