Graphite
Version 3
An experimental 3D geometry processing program
|
2d vector with homogeneous coordinates More...
#include <geogram/basic/vechg.h>
Public Types | |
typedef T | value_type |
The type of the vector coordinates. | |
Public Member Functions | |
vec2Hg (const T &x_in, const T &y_in, const T &w_in) | |
vec2Hg (double x_in, double y_in, double w_in) | |
vec2Hg (T &&x_in, T &&y_in, T &&w_in) | |
vec2Hg (const vec2Hg &rhs)=default | |
vec2Hg (vec2Hg &&rhs)=default | |
template<class T2 > | |
vec2Hg (const vecng< 2, T2 > &rhs) | |
template<class T2 > | |
vec2Hg (const vec2Hg< T2 > &rhs) | |
vec2Hg & | operator= (const vec2Hg &rhs)=default |
vec2Hg & | operator= (vec2Hg &&rhs)=default |
T * | data () |
const T * | data () const |
T & | operator[] (coord_index_t i) |
const T & | operator[] (coord_index_t i) const |
void | optimize () |
Public Attributes | |
T | x |
T | y |
T | w |
2d vector with homogeneous coordinates