#include <VectorDoublet.h>
Public Types | |
typedef V1::ScalarType | Scalar1 |
typedef V2::ScalarType | Scalar2 |
Public Member Functions | |
PreciseFloatType< Scalar1, Scalar2 >::Type | dot (const VectorDoublet &v) const |
const V1 & | first () const |
template<class T > | |
VectorDoublet & | operator*= (const T &t) |
VectorDoublet & | operator+= (const VectorDoublet &v) |
VectorDoublet | operator- () const |
VectorDoublet & | operator-= (const VectorDoublet &v) |
template<class T > | |
VectorDoublet & | operator/= (const T &t) |
const V2 & | second () const |
VectorDoublet () | |
VectorDoublet (const V1 &a, const V2 &b) | |
Private Attributes | |
V1 | a_ |
V2 | b_ |
Definition at line 8 of file VectorDoublet.h.
typedef V1::ScalarType VectorDoublet< V1, V2 >::Scalar1 |
Definition at line 11 of file VectorDoublet.h.
typedef V2::ScalarType VectorDoublet< V1, V2 >::Scalar2 |
Definition at line 12 of file VectorDoublet.h.
VectorDoublet< V1, V2 >::VectorDoublet | ( | ) | [inline] |
Definition at line 14 of file VectorDoublet.h.
{}
VectorDoublet< V1, V2 >::VectorDoublet | ( | const V1 & | a, |
const V2 & | b | ||
) | [inline] |
PreciseFloatType<Scalar1,Scalar2>::Type VectorDoublet< V1, V2 >::dot | ( | const VectorDoublet< V1, V2 > & | v | ) | const [inline] |
const V1& VectorDoublet< V1, V2 >::first | ( | ) | const [inline] |
Definition at line 17 of file VectorDoublet.h.
Referenced by VectorDoublet< Vector3D, Vector3D >::dot(), operator*(), operator+(), VectorDoublet< Vector3D, Vector3D >::operator+=(), operator-(), VectorDoublet< Vector3D, Vector3D >::operator-=(), and operator/().
{return a_;}
VectorDoublet& VectorDoublet< V1, V2 >::operator*= | ( | const T & | t | ) | [inline] |
VectorDoublet& VectorDoublet< V1, V2 >::operator+= | ( | const VectorDoublet< V1, V2 > & | v | ) | [inline] |
VectorDoublet VectorDoublet< V1, V2 >::operator- | ( | ) | const [inline] |
Definition at line 31 of file VectorDoublet.h.
{ return VectorDoublet( -a_, -b_);}
VectorDoublet& VectorDoublet< V1, V2 >::operator-= | ( | const VectorDoublet< V1, V2 > & | v | ) | [inline] |
VectorDoublet& VectorDoublet< V1, V2 >::operator/= | ( | const T & | t | ) | [inline] |
const V2& VectorDoublet< V1, V2 >::second | ( | ) | const [inline] |
Definition at line 18 of file VectorDoublet.h.
Referenced by VectorDoublet< Vector3D, Vector3D >::dot(), operator*(), operator+(), VectorDoublet< Vector3D, Vector3D >::operator+=(), operator-(), VectorDoublet< Vector3D, Vector3D >::operator-=(), and operator/().
{return b_;}
V1 VectorDoublet< V1, V2 >::a_ [private] |
Definition at line 52 of file VectorDoublet.h.
V2 VectorDoublet< V1, V2 >::b_ [private] |
Definition at line 53 of file VectorDoublet.h.