mod_fem_viewer/include/vector_T.hh File Reference
Go to the source code of this file.
Classes |
| struct | VecT |
| struct | VecT< T, 2 > |
| struct | VecT< T, 3 > |
| struct | VecT< T, 4 > |
| class | CVecT< T, N > |
Defines |
| #define | AVEC2(T) union { struct { T x,y }; T data_[2]; } |
| #define | AVEC3(T) union { struct { T x,y,z; }; T data_[3]; } |
| #define | AVEC4(T) union { struct { T x,y,z,w; }; T data_[4]; } |
Typedefs |
| typedef CVecT< float, 3 > | Vec3f |
| typedef CVecT< double, 3 > | Vec3d |
Functions |
| template<typename T , int N> |
| CVecT< T, N > | operator* (const T &lhv_, const CVecT< T, N > rh_) |
| template<typename T , int N> |
| std::istream & | operator>> (std::istream &is, CVecT< T, N > &rh_) |
| template<typename T , int N> |
| std::osteam & | operator<< (std::ostream &os, const CVecT< T, N > &rh_) const |
Variables |
| | template |
| | T |
Define Documentation
| #define AVEC2 |
( |
T |
|
) |
union { struct { T x,y }; T data_[2]; } |
| #define AVEC3 |
( |
T |
|
) |
union { struct { T x,y,z; }; T data_[3]; } |
| #define AVEC4 |
( |
T |
|
) |
union { struct { T x,y,z,w; }; T data_[4]; } |
Typedef Documentation
Function Documentation
template<typename T , int N>
| CVecT<T,N> operator* |
( |
const T & |
lhv_, |
|
|
const CVecT< T, N > |
rh_ | |
|
) |
| | [inline] |
template<typename T , int N>
| std::osteam& operator<< |
( |
std::ostream & |
os, |
|
|
const CVecT< T, N > & |
rh_ | |
|
) |
| | const [inline] |
template<typename T , int N>
| std::istream& operator>> |
( |
std::istream & |
is, |
|
|
CVecT< T, N > & |
rh_ | |
|
) |
| | [inline] |
Variable Documentation