#include <vec4.hh>
Detailed Description
Definition at line 40 of file vec4.hh.
Constructor & Destructor Documentation
Default initialization, all components are set to zero.
Definition at line 48 of file vec4.hh.
Initialization with x, y and z component.
Definition at line 51 of file vec4.hh.
copy ctor
Definition at line 54 of file vec4.hh.
(implicit) initialization with 2D vector
Definition at line 203 of file vec4.hh.
(implicit) initialization with 3D vector
Definition at line 206 of file vec4.hh.
explicit initialization with an array of floats
Definition at line 63 of file vec4.hh.
Vec4 |
( |
const double |
v[4] | ) |
|
|
inlineexplicit |
explicit initialization with an array of doubles
Definition at line 66 of file vec4.hh.
Member Function Documentation
const Real* Data |
( |
| ) |
const |
|
inline |
element access
Definition at line 101 of file vec4.hh.
multipliable
Definition at line 155 of file vec4.hh.
addable op
Definition at line 112 of file vec4.hh.
negateable
Definition at line 149 of file vec4.hh.
subtractable op
Definition at line 131 of file vec4.hh.
assignement op
Definition at line 68 of file vec4.hh.
bool operator== |
( |
const Vec4 & |
rhs | ) |
const |
|
inline |
comparable
Definition at line 78 of file vec4.hh.
Real& operator[] |
( |
std::size_t |
indx | ) |
|
|
inline |
element access
Definition at line 84 of file vec4.hh.
const Real& operator[] |
( |
std::size_t |
indx | ) |
const |
|
inline |
const element access
Definition at line 93 of file vec4.hh.
Field Documentation
The documentation for this class was generated from the following file: