#include <vec2.hh>
Inherits equality_comparable< Vec2 >, additive< Vec2 >, additive< Vec2, Real >, and multiplicative< Vec2, Real >.
Definition at line 42 of file vec2.hh.
Default initialization, all components are set to zero.
Definition at line 50 of file vec2.hh.
Initialization with x, y and z component.
Definition at line 53 of file vec2.hh.
copy ctor
Definition at line 56 of file vec2.hh.
explicit initialization with 3D vector
Definition at line 189 of file vec2.hh.
explicit initialization with a 4D homogeneous vector
Definition at line 192 of file vec2.hh.
explicit initialization with an array of doubles
Definition at line 65 of file vec2.hh.
Vec2 |
( |
const double |
v[2] | ) |
|
|
inlineexplicit |
explicit initialization with an array of floats
Definition at line 69 of file vec2.hh.
const Real& At |
( |
size_t |
indx | ) |
const |
|
inline |
const Real* Data |
( |
| ) |
const |
|
inline |
multipliable
Definition at line 148 of file vec2.hh.
addable op
Definition at line 113 of file vec2.hh.
negateable
Definition at line 142 of file vec2.hh.
subtractable op
Definition at line 128 of file vec2.hh.
bool operator== |
( |
const Vec2 & |
rhs | ) |
const |
|
inline |
comparable
Definition at line 79 of file vec2.hh.
Real& operator[] |
( |
std::size_t |
indx | ) |
|
|
inline |
element access
Definition at line 85 of file vec2.hh.
const Real& operator[] |
( |
std::size_t |
indx | ) |
const |
|
inline |
const element access
Definition at line 92 of file vec2.hh.
The documentation for this class was generated from the following file:
- build-2.6/stage/include/ost/geom/vec2.hh