#include <vec2.hh>
Detailed Description
Definition at line 41 of file vec2.hh.
Constructor & Destructor Documentation
Default initialization, all components are set to zero.
Definition at line 49 of file vec2.hh.
Initialization with x, y and z component.
Definition at line 52 of file vec2.hh.
copy ctor
Definition at line 55 of file vec2.hh.
explicit initialization with 3D vector
Definition at line 178 of file vec2.hh.
explicit initialization with a 4D homogeneous vector
Definition at line 181 of file vec2.hh.
explicit initialization with an array of doubles
Definition at line 64 of file vec2.hh.
Vec2 |
( |
const double |
v[2] | ) |
|
|
inlineexplicit |
explicit initialization with an array of floats
Definition at line 68 of file vec2.hh.
Member Function Documentation
const Real* Data |
( |
| ) |
const |
|
inline |
multipliable
Definition at line 137 of file vec2.hh.
addable op
Definition at line 102 of file vec2.hh.
negateable
Definition at line 131 of file vec2.hh.
subtractable op
Definition at line 117 of file vec2.hh.
bool operator== |
( |
const Vec2 & |
rhs | ) |
const |
|
inline |
comparable
Definition at line 78 of file vec2.hh.
Real& operator[] |
( |
std::size_t |
indx | ) |
|
|
inline |
element access
Definition at line 84 of file vec2.hh.
const Real& operator[] |
( |
std::size_t |
indx | ) |
const |
|
inline |
const element access
Definition at line 93 of file vec2.hh.
Field Documentation
The documentation for this class was generated from the following file: