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